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:
@@ -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