mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 11:21:12 +00:00
Fix sharing of the /dev tree to make sure we can safely umount the chroot when needed. This fixes local non-livefs-builder image builds.
This commit is contained in:
parent
5ba545f2b6
commit
d198821c07
@ -132,6 +132,7 @@ setup_mountpoint() {
|
||||
fi
|
||||
|
||||
mount --rbind /dev "$mountpoint/dev"
|
||||
mount --make-rslave "$mountpoint/dev"
|
||||
mount proc-live -t proc "$mountpoint/proc"
|
||||
mount sysfs-live -t sysfs "$mountpoint/sys"
|
||||
mount securityfs -t securityfs "$mountpoint/sys/kernel/security"
|
||||
|
Loading…
x
Reference in New Issue
Block a user