summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-04-02 12:29:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-04-02 12:29:15 +0000
commita19f938ab1c92da815e7acacbfd5cd28e472476d (patch)
treeeca7c40e37c82aff54b51da6c9bb07220f23ac2e /perl-install
parent06edf44669168d733e87aaf77a2d6d2ae98b622f (diff)
downloaddrakx-backup-do-not-use-a19f938ab1c92da815e7acacbfd5cd28e472476d.tar
drakx-backup-do-not-use-a19f938ab1c92da815e7acacbfd5cd28e472476d.tar.gz
drakx-backup-do-not-use-a19f938ab1c92da815e7acacbfd5cd28e472476d.tar.bz2
drakx-backup-do-not-use-a19f938ab1c92da815e7acacbfd5cd28e472476d.tar.xz
drakx-backup-do-not-use-a19f938ab1c92da815e7acacbfd5cd28e472476d.zip
do not have "root=" with no root (needed for memtest) (thanks to Borsenkow Andrej)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 814b66f30..7bc17b097 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -774,7 +774,7 @@ sub write_lilo_conf {
print F "\tlabel=", make_label_lilo_compatible($_->{label});
if ($_->{type} eq "image") {
- print F "\troot=$_->{root}";
+ print F "\troot=$_->{root}" if $_->{root};
print F "\tinitrd=", $file2fullname->($_->{initrd}) if $_->{initrd};
print F "\tappend=\"$_->{append}\"" if $_->{append};
print F "\tvga=$_->{vga}" if $_->{vga};