SHA256
1
0
forked from pool/grub2

Accepting request 400150 from home:arvidjaar:bnc:963610

Patch to grub2-once from Björn Voigt to skip comments.

OBS-URL: https://build.opensuse.org/request/show/400150
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=219
This commit is contained in:
Michael Chang 2016-06-06 09:53:39 +00:00 committed by Git OBS Bridge
parent 6194e7535c
commit b9810479d0
2 changed files with 9 additions and 0 deletions

View File

@ -59,6 +59,9 @@ open(SYSCONF, "</etc/sysconfig/bootloader") || die "cannot read bootloader sysco
$grub2_dir = ""; $grub2_dir = "";
while (<SYSCONF>) { while (<SYSCONF>) {
if (/^#/) {
next
};
if (/LOADER_TYPE="(.*)"/) { if (/LOADER_TYPE="(.*)"/) {
my $bl = $1; my $bl = $1;
if ($bl eq "grub2" || $bl eq "grub2-efi") { if ($bl eq "grub2" || $bl eq "grub2-efi") {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 2 19:25:58 UTC 2016 - arvidjaar@gmail.com
- update grub2-once with patch from Björn Voigt - skip comments in
/etc/sysconfig/bootloader (boo#963610)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 20 09:28:16 UTC 2016 - jengelh@inai.de Fri May 20 09:28:16 UTC 2016 - jengelh@inai.de