summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-14 15:19:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-14 15:19:49 +0000
commit1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462 (patch)
tree2920884705e860eaac1a9329d819fac0704a0afa
parent7419d1f834a07eff2f332c95d46f479f7cd96ef2 (diff)
downloaddrakx-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar
drakx-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar.gz
drakx-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar.bz2
drakx-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar.xz
drakx-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.zip
test the presence of kernel modules .cz'ed or not
-rw-r--r--perl-install/install2.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 4d0f1ab54..d898690df 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -115,8 +115,9 @@ sub selectMouse {
sub setupSCSI {
my ($clicked, $_ent_number, $auto) = @_;
- if (!$::live && !$::g_auto_install && !$o->{blank} && !$::testing && !$::uml_install && !$::move) {
- -s modules::cz_file() or die \N("Can't access kernel modules corresponding to your kernel (file %s is missing), this generally means your boot floppy in not in sync with the Installation medium (please create a newer boot floppy)", modules::cz_file());
+ if (!$::live && !$::g_auto_install && !$o->{blank} && !$::testing && !$::uml_install) {
+ -d '/lib/modules/' . c::kernel_version() ||
+ -s modules::cz_file() or die \N("Can't access kernel modules corresponding to your kernel (file %s is missing), this generally means your boot floppy in not in sync with the Installation medium (please create a newer boot floppy)", modules::cz_file());
}
installStepsCall($o, $auto, 'setupSCSI', $clicked);