summaryrefslogtreecommitdiff
path: root/build-recipe-debootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'build-recipe-debootstrap')
-rw-r--r--build-recipe-debootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-recipe-debootstrap b/build-recipe-debootstrap
index c1ef4ad..e1c3200 100644
--- a/build-recipe-debootstrap
+++ b/build-recipe-debootstrap
@@ -45,6 +45,9 @@ recipe_build_debootstrap() {
done
FULL_PKG_LIST="${FULL_PKG_LIST#,}"
rm -rf "$BUILD_ROOT/$myroot"
+ mkdir -p "$BUILD_ROOT/$myroot/etc/dpkg/dpkg.cfg.d"
+ echo force-unsafe-io > "$BUILD_ROOT/$myroot/etc/dpkg/dpkg.cfg.d/force-unsafe-io"
+
set -- chroot $BUILD_ROOT debootstrap --keep-debootstrap-dir --no-check-gpg --variant=buildd --arch="${arch}" --include="$FULL_PKG_LIST" "$dist" "$myroot" file:///.build.binaries
echo "running debootstrap..."
if ! "$@" || ! chroot $BUILD_ROOT dpkg --configure -a; then