mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-10 19:01:13 +00:00
Mount using --make-rslave to ensure safe unmounts for rbind mounts
This commit is contained in:
parent
f16611774f
commit
9c9e8c4e4f
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -13,6 +13,9 @@ livecd-rootfs (2.408.19) UNRELEASED; urgency=medium
|
||||
* Also nuke the sleep / udevadm settle calls in the process, which should
|
||||
never be required and slow down the builds.
|
||||
|
||||
[ Balint Reczey ]
|
||||
* Mount using --make-rslave to ensure safe unmounts for rbind mounts
|
||||
|
||||
-- Victor Tapia <victor.tapia@canonical.com> Tue, 19 Sep 2017 10:55:11 +0200
|
||||
|
||||
livecd-rootfs (2.408.18) xenial; urgency=medium
|
||||
|
@ -82,7 +82,7 @@ mount_image() {
|
||||
setup_mountpoint() {
|
||||
local mountpoint="$1"
|
||||
|
||||
mount --rbind /dev "$mountpoint/dev"
|
||||
mount --rbind --make-rslave /dev "$mountpoint/dev"
|
||||
mount proc-live -t proc "$mountpoint/proc"
|
||||
mount sysfs-live -t sysfs "$mountpoint/sys"
|
||||
mount -t tmpfs none "$mountpoint/tmp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user