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.

impish-sru-lp-1946520
Łukasz 'sil2100' Zemczak 3 years ago
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…
Cancel
Save