From a3a015c348486f1f91dbf150a0925887157d6dd1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Oct 2001 13:56:10 +0000 Subject: ensure floppies() takes care of usb-storage if possible, so that patch on usb floppy works --- perl-install/install2.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index a2d52ea20..165d69b5a 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -448,6 +448,8 @@ sub main { } require"install_steps_$o->{interactive}.pm" if $o->{interactive}; #- no space to skip perl2fcalls + # needed before accessing floppy (in case of usb floppy) + $::noauto or modules::load_thiskind("usb"); eval { $o = $::o = install_any::loadO($o, "patch") } if $patch; eval { $o = $::o = install_any::loadO($o, $cfg) } if $cfg; @@ -459,7 +461,6 @@ sub main { } modules::get_that_type('sound'); #- needed very early for install_steps_gtk - $::noauto or modules::load_thiskind("usb"); eval { ($o->{mouse}, @{$o->{wacom} = []}) = mouse::detect() } unless $o->{nomouseprobe} || $o->{mouse}; $o->{lang} = lang::set($o->{lang}); #- mainly for defcfg -- cgit v1.2.1