diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-03 23:09:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-03 23:09:44 +0000 |
commit | 160b0df64174574097f6f32a997070f55498d5bb (patch) | |
tree | 04e0160f4f00d91ec2732d80201d788cad776ce5 /draklive | |
parent | c0f1ac2f1a620dda29c95e7d6956550b4eb02c9f (diff) | |
download | draklive-160b0df64174574097f6f32a997070f55498d5bb.tar draklive-160b0df64174574097f6f32a997070f55498d5bb.tar.gz draklive-160b0df64174574097f6f32a997070f55498d5bb.tar.bz2 draklive-160b0df64174574097f6f32a997070f55498d5bb.tar.xz draklive-160b0df64174574097f6f32a997070f55498d5bb.zip |
eventually add and use probe-modules helper from stage1
Diffstat (limited to 'draklive')
-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", |