summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-30 12:02:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-30 12:02:02 +0000
commit35e7203fc7d1841e78b490aac45390068b6c116e (patch)
treea5a33a625131b951d3a9b29c1117b111dde436dd /perl-install/any.pm
parenta412fe342782661f8656c0ddba7b9c19b2ad0bd1 (diff)
downloaddrakx-35e7203fc7d1841e78b490aac45390068b6c116e.tar
drakx-35e7203fc7d1841e78b490aac45390068b6c116e.tar.gz
drakx-35e7203fc7d1841e78b490aac45390068b6c116e.tar.bz2
drakx-35e7203fc7d1841e78b490aac45390068b6c116e.tar.xz
drakx-35e7203fc7d1841e78b490aac45390068b6c116e.zip
ensure /boot/message-text exists (useful when switching from grub to lilo)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 65adc34d0..d4f74e102 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -328,6 +328,7 @@ sub setupBootloader__general {
if ($b->{method} eq 'grub') {
$in->do_pkgs->ensure_binary_is_installed('grub', "grub", 1) or return 0;
}
+ bootloader::suggest_message_text($b) if ! -e "$::prefix/boot/message-text"; #- in case we switch from grub to lilo
bootloader::set_append_memsize($b, $memsize);
if ($prev_force_acpi != $force_acpi) {