Commit 0e49a9eb authored by Holger Levsen's avatar Holger Levsen
Browse files

chroot-run: correctly mount /dev inside chroot

parent ae170dec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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