summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-21 05:09:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-21 05:09:41 +0000
commit02b87fbc1d10599421a3678f8e9315b55631462a (patch)
treec869d78401fea7c20328b0b5cf08703b9ce61628 /perl-install/install2.pm
parent750e4aa354d7925ab8bf7989684ca18fc3c6bec6 (diff)
downloaddrakx-02b87fbc1d10599421a3678f8e9315b55631462a.tar
drakx-02b87fbc1d10599421a3678f8e9315b55631462a.tar.gz
drakx-02b87fbc1d10599421a3678f8e9315b55631462a.tar.bz2
drakx-02b87fbc1d10599421a3678f8e9315b55631462a.tar.xz
drakx-02b87fbc1d10599421a3678f8e9315b55631462a.zip
don't disable kmod when doing a chroot install
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 3b9d1ef5f..823d03386 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -421,7 +421,7 @@ sub main {
log::openLog($::testing && 'debug.log');
log::l("second stage install running (", install_any::drakx_version(), ")");
- eval { output('/proc/sys/kernel/modprobe', "\n") } if !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT
+ eval { output('/proc/sys/kernel/modprobe', "\n") } if !$::local_install && !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT
eval { fs::mount('none', '/sys', 'sysfs', 1) };
if ($::move) {