[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] chroot-installs: mmdebstrap expects an empty dir (fixup cab70212)

Holger Levsen gitlab at salsa.debian.org
Tue Jan 14 17:11:40 GMT 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
6ce1a757 by Holger Levsen at 2020-01-14T18:11:28+01:00
chroot-installs: mmdebstrap expects an empty dir (fixup cab70212)

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/chroot-installation.sh


Changes:

=====================================
bin/chroot-installation.sh
=====================================
@@ -162,13 +162,12 @@ EOF
 }
 
 bootstrap() {
-	mkdir -p "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d"
-	echo force-unsafe-io > "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d/02dpkg-unsafe-io"
-
 	echo "Bootstraping $1 into $CHROOT_TARGET now."
 	set -x
 	sudo mmdebstrap $1 $CHROOT_TARGET $MIRROR
 	set +x
+	mkdir -p "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d"
+	echo force-unsafe-io > "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d/02dpkg-unsafe-io"
 	prepare_bootstrap $1
 	execute_ctmpfile
 }



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/6ce1a757f5a35261ec2b6abe239a9569a19823df

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/6ce1a757f5a35261ec2b6abe239a9569a19823df
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200114/65d930ba/attachment.html>


More information about the Qa-jenkins-scm mailing list