Mageia Bugzilla – Attachment 6576 Details for
Bug 14478
bootloader-config removes max-partitions= from lilo.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
keep max-partition option
14478.diff (text/plain), 1.70 KB, created by
Thierry Vignaud
on 2015-05-19 10:20:37 CEST
(
hide
)
Description:
keep max-partition option
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-05-19 10:20:37 CEST
Size:
1.70 KB
patch
obsolete
>commit c00c6d3c60aade06f581bb10d6de8b3ea1f7a276 >Author: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Tue May 19 04:19:20 2015 -0400 > > bootloader-config: handle max-partitions > > in lilo.conf options (#14478) > >diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm >index 99cfcec..8c3ccb4 100644 >--- a/perl-install/bootloader.pm >+++ b/perl-install/bootloader.pm >@@ -1454,7 +1454,7 @@ sub write_lilo { > push @conf, "# File generated by DrakX/drakboot"; > push @conf, "# WARNING: do not forget to run lilo after modifying this file\n"; > push @conf, "default=" . make_label_lilo_compatible($bootloader->{default}) if $bootloader->{default}; >- push @conf, map { $_ . '=' . $quotes_if_needed->($bootloader->{$_}) } grep { $bootloader->{$_} } qw(boot root map install serial vga keytable raid-extra-boot menu-scheme vmdefault); >+ push @conf, map { $_ . '=' . $quotes_if_needed->($bootloader->{$_}) } grep { $bootloader->{$_} } qw(boot root map install serial vga keytable raid-extra-boot menu-scheme max-partitions vmdefault); > push @conf, grep { $bootloader->{$_} } qw(linear geometric compact prompt mandatory nowarn restricted static-bios-codes large-memory); > push @conf, "append=" . $quotes->($bootloader->{append}) if $bootloader->{append}; > push @conf, "password=" . $bootloader->{password} if $bootloader->{password}; #- also done by msec >@@ -1510,7 +1510,7 @@ sub write_lilo { > } > } > push @entry_conf, "password=$entry->{password}" if $entry->{password}; >- push @entry_conf, grep { $entry->{$_} } qw(mandatory vmwarn vmdisable); >+ push @entry_conf, grep { $entry->{$_} } qw(mandatory max-partitions vmwarn vmdisable); > > push @conf, map { "\t$_" } @entry_conf; > }
commit c00c6d3c60aade06f581bb10d6de8b3ea1f7a276 Author: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Tue May 19 04:19:20 2015 -0400 bootloader-config: handle max-partitions in lilo.conf options (#14478) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 99cfcec..8c3ccb4 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1454,7 +1454,7 @@ sub write_lilo { push @conf, "# File generated by DrakX/drakboot"; push @conf, "# WARNING: do not forget to run lilo after modifying this file\n"; push @conf, "default=" . make_label_lilo_compatible($bootloader->{default}) if $bootloader->{default}; - push @conf, map { $_ . '=' . $quotes_if_needed->($bootloader->{$_}) } grep { $bootloader->{$_} } qw(boot root map install serial vga keytable raid-extra-boot menu-scheme vmdefault); + push @conf, map { $_ . '=' . $quotes_if_needed->($bootloader->{$_}) } grep { $bootloader->{$_} } qw(boot root map install serial vga keytable raid-extra-boot menu-scheme max-partitions vmdefault); push @conf, grep { $bootloader->{$_} } qw(linear geometric compact prompt mandatory nowarn restricted static-bios-codes large-memory); push @conf, "append=" . $quotes->($bootloader->{append}) if $bootloader->{append}; push @conf, "password=" . $bootloader->{password} if $bootloader->{password}; #- also done by msec @@ -1510,7 +1510,7 @@ sub write_lilo { } } push @entry_conf, "password=$entry->{password}" if $entry->{password}; - push @entry_conf, grep { $entry->{$_} } qw(mandatory vmwarn vmdisable); + push @entry_conf, grep { $entry->{$_} } qw(mandatory max-partitions vmwarn vmdisable); push @conf, map { "\t$_" } @entry_conf; }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14478
: 6576