SHA256
1
0
forked from pool/grub2

Accepting request 150545 from Base:System

a couple of secureboot changes and some improvement.

OBS-URL: https://build.opensuse.org/request/show/150545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=56
This commit is contained in:
Stephan Kulow
2013-01-31 13:48:08 +00:00
committed by Git OBS Bridge
parent 5c779d6686
commit 716e24f030
6 changed files with 747 additions and 21 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;
}