summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-30 17:19:15 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-30 17:19:15 +0000
commit446202f3261911c59e194d9883e4618753a0e5b7 (patch)
tree4060f6c9091d22c17a7aed4562ded968a1c85eed /perl-install/modules.pm
parent4c11c11f94e94c387628371a19b9a13afc0f781a (diff)
downloaddrakx-446202f3261911c59e194d9883e4618753a0e5b7.tar
drakx-446202f3261911c59e194d9883e4618753a0e5b7.tar.gz
drakx-446202f3261911c59e194d9883e4618753a0e5b7.tar.bz2
drakx-446202f3261911c59e194d9883e4618753a0e5b7.tar.xz
drakx-446202f3261911c59e194d9883e4618753a0e5b7.zip
adapt to usbfs death (2/4): if needed, mount /sys/kernel/debug/usb
instead of /proc/bus/usb
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 593bc7719..6014c6dc6 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -283,7 +283,7 @@ sub when_load_category {
} elsif ($category eq 'bus/usb') {
$conf->add_probeall('usb-interface', $name);
-f '/sys/kernel/debug/usb/devices' or eval {
- require fs::mount; fs::mount::usbfs('');
+ require fs::mount; fs::mount::sys_kernel_debug('');
#- ensure keyboard is working, the kernel must do the job the BIOS was doing
sleep 4;
load("usbhid") if detect_devices::usbKeyboards();