summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-12-16 12:10:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-12-16 12:10:59 +0000
commit3aa2bedc055efbbd8054e7c11dcfab88ea9dbd0b (patch)
tree5ff6d0a93a32b76ee9fd5d2abcf451bd8486e7bf /perl-install/install_steps.pm
parentabe973e7142c7e5b8c0a585f154b2315b5d4059c (diff)
downloaddrakx-backup-do-not-use-3aa2bedc055efbbd8054e7c11dcfab88ea9dbd0b.tar
drakx-backup-do-not-use-3aa2bedc055efbbd8054e7c11dcfab88ea9dbd0b.tar.gz
drakx-backup-do-not-use-3aa2bedc055efbbd8054e7c11dcfab88ea9dbd0b.tar.bz2
drakx-backup-do-not-use-3aa2bedc055efbbd8054e7c11dcfab88ea9dbd0b.tar.xz
drakx-backup-do-not-use-3aa2bedc055efbbd8054e7c11dcfab88ea9dbd0b.zip
when upgrading, merge existing modprobe.conf (and do it when /mnt is mounted, not before!)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index f47cc8c8a..dd4ab0370 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -371,6 +371,10 @@ sub beforeInstallPackages {
read_bootloader_config($o);
+ if ($o->{isUpgrade}) {
+ $o->{modules_conf}->merge_into(modules::any_conf->read);
+ }
+
#- save these files in case of upgrade failure.
if ($o->{isUpgrade}) {
foreach (@filesToSaveForUpgrade) {