[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] chroot-run: correctly mount /dev inside chroot
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Jan 28 15:54:41 GMT 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
0e49a9eb by Holger Levsen at 2023-01-28T16:54:27+01:00
chroot-run: correctly mount /dev inside chroot
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/chroot-run.sh
Changes:
=====================================
bin/chroot-run.sh
=====================================
@@ -97,7 +97,7 @@ bootstrap() {
cat > $CHROOT_TARGET/tmp/chroot-prepare <<-EOF
$SCRIPT_HEADER
mount /proc -t proc /proc
-mount -t devfs devfs /dev
+mount -t devtmpfs devtmpfs /dev
mount devpts /dev/pts -t devpts
echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
chmod +x /usr/sbin/policy-rc.d
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/0e49a9ebca58071f6b734708f19ab16be80d8a7a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/0e49a9ebca58071f6b734708f19ab16be80d8a7a
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/20230128/fb0b8be6/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list