df62b2deb2
- Check/refresh zipl-kernel before hibernate on s390x. (bsc#940457) (Getting rid of hardcoded 'vmlinuz', which failed on PPC as well.) - Try to refresh zipl-kernel on failed kexec. (bsc#1127293) - Fully support "previous" zipl-kernel, with 'mem=1G' being available on dedicated entries. (bsc#928131) OBS-URL: https://build.opensuse.org/request/show/703735 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=333
18 lines
368 B
Diff
18 lines
368 B
Diff
---
|
|
util/s390x/zipl2grub.pl.in | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/util/s390x/zipl2grub.pl.in
|
|
+++ b/util/s390x/zipl2grub.pl.in
|
|
@@ -384,6 +384,10 @@ while ( <IN> ) {
|
|
} else {
|
|
$v = "";
|
|
}
|
|
+ if ($k eq "GRUB_DEVICE" && $v !~ /^UUID/ && ! -e $v) {
|
|
+ s{root=\@$k\@}{}g;
|
|
+ next;
|
|
+ }
|
|
s{\@$k\@}{$v}g;
|
|
}
|
|
Info( 3, $_);
|