[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] chroot-run: also mount /dev/ and /dev/pts inside the chroot
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Jan 28 15:32:24 GMT 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
f18ba089 by Holger Levsen at 2023-01-28T16:31:45+01:00
chroot-run: also mount /dev/ and /dev/pts inside the chroot
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/chroot-run.sh
Changes:
=====================================
bin/chroot-run.sh
=====================================
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2012-2021 Holger Levsen <holger at layer-acht.org>
+# Copyright 2012-2023 Holger Levsen <holger at layer-acht.org>
# Copyright 2013 Antonio Terceiro <terceiro at debian.org>
# released under the GPLv2
@@ -97,6 +97,8 @@ bootstrap() {
cat > $CHROOT_TARGET/tmp/chroot-prepare <<-EOF
$SCRIPT_HEADER
mount /proc -t proc /proc
+mount -t devfs devfs /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
echo 'Acquire::http::Proxy "$http_proxy";' > /etc/apt/apt.conf.d/80proxy
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f18ba08962483a87cf9c707f74f5b8b2ee7e26ee
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f18ba08962483a87cf9c707f74f5b8b2ee7e26ee
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/3a89122f/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list