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:
committed by
Git OBS Bridge
parent
5c779d6686
commit
716e24f030
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user