summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-06 05:17:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-06 05:17:34 +0000
commit50da598a3eb88f02f4d240aae7ee7e591d25cb84 (patch)
tree8db9649b1bbd740239eb0a51cc3772ea5935d7af /perl-install/bootloader.pm
parent0c3209bafe32f4dcf0c9dcd9c6053c2cee1d8733 (diff)
downloaddrakx-50da598a3eb88f02f4d240aae7ee7e591d25cb84.tar
drakx-50da598a3eb88f02f4d240aae7ee7e591d25cb84.tar.gz
drakx-50da598a3eb88f02f4d240aae7ee7e591d25cb84.tar.bz2
drakx-50da598a3eb88f02f4d240aae7ee7e591d25cb84.tar.xz
drakx-50da598a3eb88f02f4d240aae7ee7e591d25cb84.zip
write_lilo handles "optional"
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 719e7b887..7d6afbe1d 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -983,6 +983,7 @@ sub write_lilo {
push @entry_conf, qq(append="$entry->{append}") if $entry->{append};
push @entry_conf, "vga=$entry->{vga}" if $entry->{vga};
push @entry_conf, $entry->{'read-write'} ? "read-write" : "read-only";
+ push @entry_conf, grep { $entry->{$_} } qw(optional);
} else {
push @entry_conf, "table=$entry->{table}" if $entry->{table};
push @entry_conf, "unsafe" if $entry->{unsafe} && !$entry->{table};