forked from pool/grub2
a2141f8610
1 OBS-URL: https://build.opensuse.org/request/show/417037 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=140
16 lines
441 B
Diff
16 lines
441 B
Diff
Index: grub-2.02~beta2/util/s390x/zipl2grub.pl.in
|
|
===================================================================
|
|
--- grub-2.02~beta2.orig/util/s390x/zipl2grub.pl.in
|
|
+++ grub-2.02~beta2/util/s390x/zipl2grub.pl.in
|
|
@@ -361,6 +361,10 @@ while ( <IN> ) {
|
|
} else {
|
|
$v = "";
|
|
}
|
|
+ if ($k eq "GRUB_DEVICE" && $v !~ /^UUID/ && ! -e $v) {
|
|
+ s{root=\@$k\@}{}g;
|
|
+ next;
|
|
+ }
|
|
s{\@$k\@}{$v}g;
|
|
}
|
|
Info( 2, $_);
|