SHA256
1
0
forked from pool/grub2

Accepting request 339606 from home:eeich:branches:Base:System

- Include custom.cfg into the files scanned by grub2-once.
  Allows to chose manually added entries as well (FATE#319632).

OBS-URL: https://build.opensuse.org/request/show/339606
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=182
This commit is contained in:
Michael Chang 2015-10-20 10:40:40 +00:00 committed by Git OBS Bridge
parent 1a0ddd28c8
commit 84b99e67aa
3 changed files with 14 additions and 1 deletions

View File

@ -89,6 +89,13 @@ while (<MENU>) {
close (MENU); close (MENU);
if (open(MENU, "<$grub2_dir/custom.cfg")) {
while (<MENU>) {
&parse_menuentry ("", $_);
}
close (MENU);
}
my $ret = ""; my $ret = "";
my $name = ""; my $name = "";
my $id = -1; my $id = -1;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Oct 18 11:45:10 UTC 2015 - eich@suse.com
- Include custom.cfg into the files scanned by grub2-once.
Allows to chose manually added entries as well (FATE#319632).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 7 09:01:37 UTC 2015 - mchang@suse.com Wed Oct 7 09:01:37 UTC 2015 - mchang@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package grub2 # spec file for package grub2
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed