From cf250f3743f92d56053f0dc29ef5ba5fb4056e19 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 2 Mar 2005 11:35:17 +0000 Subject: handle boot-as and master-boot (bugzilla #13846) --- perl-install/bootloader.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/bootloader.pm') diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 83a95f6c4..034b8b568 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1044,8 +1044,9 @@ sub write_lilo { 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}; + delete $entry->{unsafe} if !$entry->{table}; #- we can't have both + push @entry_conf, map { "$_=$entry->{$_}" } grep { $entry->{$_} } qw(table boot-as); + push @entry_conf, grep { $entry->{$_} } qw(unsafe master-boot); if ($entry->{table}) { #- hum, things like table=c: are needed for some os2 cases, -- cgit v1.2.1