Skip to content

Commit

Permalink
don't build debootstrap from source
Browse files Browse the repository at this point in the history
  • Loading branch information
k-v1 authored and yxieca committed Nov 22, 2023
1 parent c8fe658 commit 5f4132a
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 82 deletions.
10 changes: 0 additions & 10 deletions rules/debootstrap.dep

This file was deleted.

9 changes: 0 additions & 9 deletions rules/debootstrap.mk

This file was deleted.

2 changes: 0 additions & 2 deletions slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,6 @@ $(addprefix $(TARGET_PATH)/, $(SONIC_RFS_TARGETS)) : $(TARGET_PATH)/% : \
.platform \
build_debian.sh \
$(addprefix $(IMAGE_DISTRO_DEBS_PATH)/,$(INITRAMFS_TOOLS) $(LINUX_KERNEL)) \
$(addsuffix -install,$(addprefix $(IMAGE_DISTRO_DEBS_PATH)/,$(DEBOOTSTRAP))) \
$$(addprefix $(TARGET_PATH)/,$$($$*_DEPENDENT_RFS)) \
$(call dpkg_depend,$(TARGET_PATH)/%.dep)
$(HEADER)
Expand Down Expand Up @@ -1356,7 +1355,6 @@ $(addprefix $(TARGET_PATH)/, $(SONIC_INSTALLERS)) : $(TARGET_PATH)/% : \
$$(addprefix $(TARGET_PATH)/,$$($$*_DOCKERS)) \
$$(addprefix $(TARGET_PATH)/,$$(SONIC_PACKAGES_LOCAL)) \
$$(addprefix $(FILES_PATH)/,$$($$*_FILES)) \
$(addsuffix -install,$(addprefix $(IMAGE_DISTRO_DEBS_PATH)/,$(DEBOOTSTRAP))) \
$(if $(findstring y,$(ENABLE_ZTP)),$(addprefix $(IMAGE_DISTRO_DEBS_PATH)/,$(SONIC_ZTP))) \
$(if $(findstring y,$(INCLUDE_FIPS)),$(addprefix $(IMAGE_DISTRO_DEBS_PATH)/,$(SYMCRYPT_OPENSSL))) \
$(addprefix $(PYTHON_WHEELS_PATH)/,$(SONIC_UTILITIES_PY3)) \
Expand Down
1 change: 1 addition & 0 deletions sonic-slave-bookworm/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ RUN apt-get update && apt-get install -y \
uuid-dev \
jq \
cron \
debootstrap \
# For sonic-swss-common
nlohmann-json3-dev \
libhiredis-dev \
Expand Down
3 changes: 0 additions & 3 deletions src/debootstrap/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions src/debootstrap/Makefile

This file was deleted.

34 changes: 0 additions & 34 deletions src/debootstrap/proc-mount.patch

This file was deleted.

0 comments on commit 5f4132a

Please sign in to comment.