diff options
-rwxr-xr-x | draklive | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -412,6 +412,8 @@ sub create_initrd_for_media { shift @l; symlink('busybox', $initrd_tree . "/bin/$_") foreach @l; + cp_f(get_system_root($live) . "/usr/lib/drakx-installer-binaries/probe-modules", $initrd_tree . '/bin'); + my $rrpt_dev = get_media_setting($media, 'rereadpt'); if ($rrpt_dev) { $need_libs = 1; @@ -534,6 +536,7 @@ sub create_initrd_scriptlet { #- required for cdrom labels "mount -t sysfs none /sys", (map { join(" ", "insmod", "/modules/$_.ko", grep { $_ } $live->{system}{module_options}{$_}) } @modules), + "probe-modules", if_(member('usb-storage', @modules), #- wait some seconds for the usb-stor-scan process to be run "sleep 2", |