grub2/grub2-zipl-setup-fix-btrfs-multipledev.patch
Michael Chang df62b2deb2 Accepting request 703735 from home:rwill:branches:Base:System
- 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
2019-05-20 06:03:38 +00:00

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, $_);