summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-10 15:28:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-10 15:28:13 +0000
commit9a18d559d5237d0dda43e0079da4d3cd67336dfe (patch)
treeb38a7bcda2da3d27638339d7fa6ad71672c9bcb6
parent1d63926a558c483609032e9d5860a93ad987053c (diff)
downloaddrakx-backup-do-not-use-9a18d559d5237d0dda43e0079da4d3cd67336dfe.tar
drakx-backup-do-not-use-9a18d559d5237d0dda43e0079da4d3cd67336dfe.tar.gz
drakx-backup-do-not-use-9a18d559d5237d0dda43e0079da4d3cd67336dfe.tar.bz2
drakx-backup-do-not-use-9a18d559d5237d0dda43e0079da4d3cd67336dfe.tar.xz
drakx-backup-do-not-use-9a18d559d5237d0dda43e0079da4d3cd67336dfe.zip
(readBootloaderConfigBeforeInstall): set bootUnsafe to 0 when upgrading so
that it doesn't ask where to install the bootloader (mbr vs boot partition)
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 5d7314166..3fbfb82e7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -787,6 +787,8 @@ sub readBootloaderConfigBeforeInstall {
require bootloader;
add2hash($o->{bootloader} ||= {}, bootloader::read());
+ $o->{bootloader}{bootUnsafe} = 0 if $o->{bootloader}{boot}; #- when upgrading, don't ask where to install the bootloader (mbr vs boot partition)
+
#- since kernel or kernel-smp may not be upgraded, it should be checked
#- if there is a need to update existing lilo.conf entries by following
#- symlinks before kernel or other packages get installed.