summaryrefslogtreecommitdiffstats
path: root/draklive
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 /draklive
parente515b6e2ed91aabe186e8dbaef54865aa66c6b61 (diff)
downloaddraklive-e79f028b8685a5a069b242b833eda12ca05f7220.tar
draklive-e79f028b8685a5a069b242b833eda12ca05f7220.tar.gz
draklive-e79f028b8685a5a069b242b833eda12ca05f7220.tar.bz2
draklive-e79f028b8685a5a069b242b833eda12ca05f7220.tar.xz
draklive-e79f028b8685a5a069b242b833eda12ca05f7220.zip
adapt for usbfs death, change /proc/bus/usb to /sys/kernel/debug/usb
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive3
1 files changed, 2 insertions, 1 deletions
diff --git a/draklive b/draklive
index d3d9dbe..6e2ba79 100755
--- a/draklive
+++ b/draklive
@@ -383,11 +383,12 @@ sub mount_system_fs {
my ($live) = @_;
run_('mount', '-t', 'proc', '/proc', $live->get_system_root . '/proc');
run_('mount', '-t', 'sysfs', '/sys', $live->get_system_root . '/sys');
+ run_('mount', '-t', 'debugfs', '/sys/kernel/debug/usb', $live->get_system_root . '/sys/kernel/debug/usb');
}
sub umount_system_fs {
my ($live) = @_;
- eval { fs::mount::umount($live->get_system_root . $_) } foreach qw(/dev /proc/bus/usb /proc /sys);
+ eval { fs::mount::umount($live->get_system_root . $_) } foreach qw(/dev /proc /sys/kernel/debug/usb /sys);
}
sub umount_external_fs {