summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2012-05-06 19:59:59 +0000
committerOlivier Blin <blino@mageia.org>2012-05-06 19:59:59 +0000
commit63486c4336cc2248d847a418519468666bdabb6c (patch)
tree55f1ba1be02e53db4b7cf6945220961074d136f0
parentf23c861fa4281617cc4349911dc1bc4e5fbc5830 (diff)
downloaddraklive-63486c4336cc2248d847a418519468666bdabb6c.tar
draklive-63486c4336cc2248d847a418519468666bdabb6c.tar.gz
draklive-63486c4336cc2248d847a418519468666bdabb6c.tar.bz2
draklive-63486c4336cc2248d847a418519468666bdabb6c.tar.xz
draklive-63486c4336cc2248d847a418519468666bdabb6c.zip
unmount /dev when needed (from tmb)
-rw-r--r--NEWS2
-rwxr-xr-xdraklive2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1cf6fef..0d3dbd7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- unmount /dev when needed
+
2.0:
* adapt for creating Mageia 2 livecds
diff --git a/draklive b/draklive
index 85837fc..510b1f6 100755
--- a/draklive
+++ b/draklive
@@ -400,7 +400,7 @@ sub mount_system_fs {
sub umount_system_fs {
my ($live) = @_;
- eval { fs::mount::umount($live->get_system_root . $_) } foreach qw(/proc/bus/usb /proc /sys);
+ eval { fs::mount::umount($live->get_system_root . $_) } foreach qw(/dev /proc/bus/usb /proc /sys);
}
sub umount_external_fs {