diff options
-rwxr-xr-x | share/build-scripts/debconf | 3 | ||||
-rwxr-xr-x | share/build-scripts/debootstrap | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf index dae632a..b589fce 100755 --- a/share/build-scripts/debconf +++ b/share/build-scripts/debconf @@ -405,7 +405,8 @@ Debootstrap () mmdebstrap) mmdebstrap --arch=${ARCHITECTURE} --components=${PARENT_ARCHIVE_AREAS} \ - --format=directory --mode=root --include=${INCLUDE} ${PARENT_DISTRIBUTION} "${DIRECTORY}" ${PARENT_MIRROR} + --format=directory --mode=root --aptopt='APT::Sandbox::User "root"' \ + --include=${INCLUDE} ${PARENT_DISTRIBUTION} "${DIRECTORY}" ${PARENT_MIRROR} ;; *) diff --git a/share/build-scripts/debootstrap b/share/build-scripts/debootstrap index 738f75b..567ee6b 100755 --- a/share/build-scripts/debootstrap +++ b/share/build-scripts/debootstrap @@ -136,7 +136,7 @@ case "${SCRIPT}" in mmdebstrap) BOOTSTRAP="/usr/bin/mmdebstrap" - BOOTSTRAP_OPTIONS="--format=directory --mode=root" + BOOTSTRAP_OPTIONS="--format=directory --mode=root --aptopt='APT::Sandbox::User \"root\"'" ;; esac |