summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-12-16 12:10:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-12-16 12:10:29 +0000
commitf5b8ed98986104ebefeac832a37aa99867db1822 (patch)
tree1e2f482297a048b06cd8aecdbcbc2dd0daa43745 /perl-install/install_steps.pm
parent97ad2e9492c703bac58ba8abfbb56894646d2e54 (diff)
downloaddrakx-backup-do-not-use-f5b8ed98986104ebefeac832a37aa99867db1822.tar
drakx-backup-do-not-use-f5b8ed98986104ebefeac832a37aa99867db1822.tar.gz
drakx-backup-do-not-use-f5b8ed98986104ebefeac832a37aa99867db1822.tar.bz2
drakx-backup-do-not-use-f5b8ed98986104ebefeac832a37aa99867db1822.tar.xz
drakx-backup-do-not-use-f5b8ed98986104ebefeac832a37aa99867db1822.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 eba9df7a5..150657724 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) {