summaryrefslogtreecommitdiffstats
path: root/share/build-scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-10-02 20:46:10 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-10-02 20:46:42 +0000
commitc0738061fe48f544229008fc3ae37e739465724f (patch)
treead302320824bf32fa50f19a2cd916f19646552b7 /share/build-scripts/debconf
parentAlso passing explicit directory output-format to mmdebstrap in build scripts. (diff)
downloadcompute-tools-c0738061fe48f544229008fc3ae37e739465724f.tar.xz
compute-tools-c0738061fe48f544229008fc3ae37e739465724f.zip
Also passing root as sandbox user to mmdebstrap in build scripts.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/build-scripts/debconf3
1 files changed, 2 insertions, 1 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}
;;
*)