Mageia Bugzilla – Attachment 8044 Details for
Bug 15583
Installing to '/' in UEFI writes into ESP and changes default bootloader
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
do not overwite ESP if not installing on it
0001-do-not-overwite-ESP-if-not-installing-on-it.patch (text/plain), 793 bytes, created by
Thierry Vignaud
on 2016-06-22 00:49:11 CEST
(
hide
)
Description:
do not overwite ESP if not installing on it
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-06-22 00:49:11 CEST
Size:
793 bytes
patch
obsolete
>From a48a6f3b62a45f15e588d4a699fe17f8632a8e35 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Wed, 22 Jun 2016 00:44:03 +0200 >Subject: [PATCH] do not overwite ESP if not installing on it > >temporary hack for mga#15583 >--- > perl-install/bootloader.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm >index 9a5085a..af2462a 100644 >--- a/perl-install/bootloader.pm >+++ b/perl-install/bootloader.pm >@@ -1900,6 +1900,7 @@ sub write_grub2_install_sh { > my $boot = $bootloader->{boot}; > my @options; > if (is_uefi()) { >+ push @options, qw(--bootloader-id=tmp --no-nvram) if $boot =~ /\d$/; > } else { > @options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot; > } >-- >2.9.0 >
From a48a6f3b62a45f15e588d4a699fe17f8632a8e35 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Wed, 22 Jun 2016 00:44:03 +0200 Subject: [PATCH] do not overwite ESP if not installing on it temporary hack for mga#15583 --- perl-install/bootloader.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 9a5085a..af2462a 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1900,6 +1900,7 @@ sub write_grub2_install_sh { my $boot = $bootloader->{boot}; my @options; if (is_uefi()) { + push @options, qw(--bootloader-id=tmp --no-nvram) if $boot =~ /\d$/; } else { @options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot; } -- 2.9.0
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15583
: 8044 |
8072
|
8073