From edf19549e71889e8374d45e57ab0bea32ad446a1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Sep 2001 21:29:21 +0000 Subject: display error when the kernel mismatch the modules --- perl-install/install2.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index c0c929a6f..feb95374f 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -110,6 +110,11 @@ sub selectMouse { #------------------------------------------------------------------------------ sub setupSCSI { my ($clicked, $ent_number, $auto) = @_; + + if (!$::live && !$o->{blank}) { + -s modules::cz_file() or die _("Can't access kernel modules corresponding to your kernel (file %s is missing)", modules::cz_file()); + } + installStepsCall($o, $auto, 'setupSCSI', $clicked); } -- cgit v1.2.1