diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-12-20 18:40:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-12-20 18:40:56 +0000 |
commit | 6f768666517680dbfe3bf9b128e6f9a038707140 (patch) | |
tree | 8015e4c8e8c2ae0e3fd6eea022a316339a105065 /perl-install/install2.pm | |
parent | 76f575f3c7fec164b849e21ea00de28792c9350f (diff) | |
download | drakx-backup-do-not-use-6f768666517680dbfe3bf9b128e6f9a038707140.tar drakx-backup-do-not-use-6f768666517680dbfe3bf9b128e6f9a038707140.tar.gz drakx-backup-do-not-use-6f768666517680dbfe3bf9b128e6f9a038707140.tar.bz2 drakx-backup-do-not-use-6f768666517680dbfe3bf9b128e6f9a038707140.tar.xz drakx-backup-do-not-use-6f768666517680dbfe3bf9b128e6f9a038707140.zip |
don't die when /proc/sys/kernel/modprobe doesn't exist (for BOOT kernels)
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index dba50f089..8d0744dfe 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -433,7 +433,7 @@ sub main { log::openLog(($::testing || $o->{localInstall}) && 'debug.log'); log::l("second stage install running (", any::drakx_version(), ")"); - output('/proc/sys/kernel/modprobe', '') if !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT + eval { output('/proc/sys/kernel/modprobe', '') } if !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT eval { fs::mount('none', '/sys', 'sysfs', 1) }; if ($::move) { |