diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-21 14:43:42 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-21 14:43:42 +0000 |
commit | 830a2579e35f1ba8b4963ae5d05cff46baf7142c (patch) | |
tree | 0582f1121bc1c946f3ae6e203bfb1dd10f6fff64 | |
parent | 76222399458f9aae0254b8a13b6c7ad5678e4b9e (diff) | |
download | drakx-830a2579e35f1ba8b4963ae5d05cff46baf7142c.tar drakx-830a2579e35f1ba8b4963ae5d05cff46baf7142c.tar.gz drakx-830a2579e35f1ba8b4963ae5d05cff46baf7142c.tar.bz2 drakx-830a2579e35f1ba8b4963ae5d05cff46baf7142c.tar.xz drakx-830a2579e35f1ba8b4963ae5d05cff46baf7142c.zip |
kill old usb-storage code, mkinitrd now loads it when necessary
-rw-r--r-- | perl-install/install/install2.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 8addfdb33..dbd75a8f2 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -184,16 +184,6 @@ sub formatPartitions { any::rotate_logs($::prefix); - if (any { $_->{usb_media_type} && any { $_->{mntpoint} } partition_table::get_normal_parts($_) } @{$o->{all_hds}{hds}}) { - log::l("we use a usb-storage based drive, so keep it as a normal scsi_hostadapter"); - } else { - log::l("we do not need usb-storage for booting system, rely on hotplug"); - #- when usb-storage is in scsi_hostadapter, - #- hotplug + scsimon do not load sd_mod/sr_mod when needed - #- (eg: when plugging a usb key) - $o->{modules_conf}->remove_probeall('scsi_hostadapter', 'usb-storage'); - } - require raid; raid::write_conf($o->{all_hds}{raids}); |