mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 11:21:12 +00:00
Merge lp:~rbalint/livecd-rootfs/mount-make-rslave
This commit is contained in:
commit
12b1a5de4d
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.460) UNRELEASED; urgency=medium
|
||||
|
||||
[ Balint Reczey ]
|
||||
* Mount using --make-rslave to ensure safe unmounts for rbind mounts
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 26 Sep 2017 00:59:08 -0400
|
||||
|
||||
livecd-rootfs (2.459) artful; urgency=medium
|
||||
|
||||
[ Steve Langasek ]
|
||||
|
@ -79,7 +79,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