summaryrefslogtreecommitdiffstats
path: root/lib/MDV
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-09-01 19:21:22 +0000
committerThomas Backlund <tmb@mageia.org>2012-09-01 19:21:22 +0000
commite79f028b8685a5a069b242b833eda12ca05f7220 (patch)
tree9ff1d149fe843db5fbe7ed2200bdd42dd14e2ac1 /lib/MDV
parente515b6e2ed91aabe186e8dbaef54865aa66c6b61 (diff)
downloaddrakiso-e79f028b8685a5a069b242b833eda12ca05f7220.tar
drakiso-e79f028b8685a5a069b242b833eda12ca05f7220.tar.gz
drakiso-e79f028b8685a5a069b242b833eda12ca05f7220.tar.bz2
drakiso-e79f028b8685a5a069b242b833eda12ca05f7220.tar.xz
drakiso-e79f028b8685a5a069b242b833eda12ca05f7220.zip
adapt for usbfs death, change /proc/bus/usb to /sys/kernel/debug/usb
Diffstat (limited to 'lib/MDV')
-rw-r--r--lib/MDV/Draklive/Initrd.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index b5ea5a7..a2e8ee1 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -232,8 +232,8 @@ sub create_initrd_scriptlet {
"plymouth --newroot=$target",
"echo 0x0100 > /proc/sys/kernel/real-root-dev",
"umount /sys",
- "sh -c 'umount /proc/bus/usb 2>/dev/null'",
- "umount /proc",
+ "sh -c 'umount /sys/kernel/debug/usb 2>/dev/null'",
+ "umount /sys/kernel/debug/usb",
"pivot_root $target $target$initrdroot",
if_($live->{mount}{root}, "sh -c 'rmdir $initrdroot$live->{prefix}{live}{mnt}$live->{mount}{root}'"),
(map { $loop_types{$_->{type}}{pivot_clean}->($live, $_, $initrdroot) } grep { $loop_types{$_->{type}}{pivot_clean} } @{$live->{mount}{dirs} || []}),