Accepting request 150359 from home:arvidjaar:branches:Base:System

- remove obsolete reference to /boot/grub2-efi and /usr/sbin/grub2-efi
  from grub2-once
- add GRUB_SAVEDFAULT description to /etc/default/grub

OBS-URL: https://build.opensuse.org/request/show/150359
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=11
This commit is contained in:
2013-01-30 07:29:03 +00:00
committed by Git OBS Bridge
parent 5e5fcf39b1
commit 3af94538b6
3 changed files with 12 additions and 4 deletions

View File

@@ -45,12 +45,9 @@ $grub2_dir = "";
while (<SYSCONF>) {
if (/LOADER_TYPE="(.*)"/) {
my $bl = $1;
if ($bl eq "grub2") {
if ($bl eq "grub2" || $bl eq "grub2-efi") {
$grub2_dir = "/boot/grub2";
$grub2_reboot = "/usr/sbin/grub2-reboot";
} elsif ($bl eq "grub2-efi") {
$grub2_dir = "/boot/grub2-efi";
$grub2_reboot = "/usr/sbin/grub2-efi-reboot";
}
last;
}