2019-05-22 10:53:49 +02:00
|
|
|
---
|
|
|
|
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> ) {
|
2016-08-11 18:53:05 +02:00
|
|
|
} else {
|
|
|
|
$v = "";
|
|
|
|
}
|
|
|
|
+ if ($k eq "GRUB_DEVICE" && $v !~ /^UUID/ && ! -e $v) {
|
|
|
|
+ s{root=\@$k\@}{}g;
|
|
|
|
+ next;
|
|
|
|
+ }
|
|
|
|
s{\@$k\@}{$v}g;
|
|
|
|
}
|
2019-05-22 10:53:49 +02:00
|
|
|
Info( 3, $_);
|