Mageia Bugzilla – Attachment 8863 Details for
Bug 20089
Installer is wrongly offering option to use GRUB Legacy in live installs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
do not offer lilo/grub-legacy in live install
0001-do-not-offer-lilo-grub-legacy-in-live-install.patch (text/plain), 1.11 KB, created by
Thierry Vignaud
on 2017-01-16 11:37:24 CET
(
hide
)
Description:
do not offer lilo/grub-legacy in live install
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2017-01-16 11:37:24 CET
Size:
1.11 KB
patch
obsolete
>From d1125dabf687b6babea4d528cfdbf130b3f7ed96 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Mon, 16 Jan 2017 11:33:04 +0100 >Subject: [PATCH] do not offer lilo/grub-legacy in live install > >Resolves: mga#20089 >--- > perl-install/bootloader.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm >index ac12e18..5269203 100644 >--- a/perl-install/bootloader.pm >+++ b/perl-install/bootloader.pm >@@ -1313,7 +1313,7 @@ sub method_choices_raw { > 'grub2-graphic', 'grub2'), > # only grub2 works on UEFI: > # lilo & grub-legacy do not suppport new ext4/xfs format and are unmainted so only allow them on upgrade: >- if_(!is_uefi() && !($::isInstall && !$::o->{isUpgrade}), ( >+ if_(!is_uefi() && !($::isInstall && !$::o->{isUpgrade} || $::isLiveInstall), ( > if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix) && -f "$::prefix/boot/grub/install.sh", > 'grub-graphic', 'grub-menu'), > if_(!$b_prefix_mounted || whereis_binary('lilo', $::prefix) && -f "$::prefix/etc/lilo.conf", >-- >2.10.2 >
From d1125dabf687b6babea4d528cfdbf130b3f7ed96 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Mon, 16 Jan 2017 11:33:04 +0100 Subject: [PATCH] do not offer lilo/grub-legacy in live install Resolves: mga#20089 --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index ac12e18..5269203 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1313,7 +1313,7 @@ sub method_choices_raw { 'grub2-graphic', 'grub2'), # only grub2 works on UEFI: # lilo & grub-legacy do not suppport new ext4/xfs format and are unmainted so only allow them on upgrade: - if_(!is_uefi() && !($::isInstall && !$::o->{isUpgrade}), ( + if_(!is_uefi() && !($::isInstall && !$::o->{isUpgrade} || $::isLiveInstall), ( if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix) && -f "$::prefix/boot/grub/install.sh", 'grub-graphic', 'grub-menu'), if_(!$b_prefix_mounted || whereis_binary('lilo', $::prefix) && -f "$::prefix/etc/lilo.conf", -- 2.10.2
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20089
: 8863