forked from pool/grub2
957b4bf706
- Switch to '--no-hostonly' when creating the ZIPL initrd in the KIWI build environment to avoid some potential issues due to the missing modules * grub2-s390x-set-hostonly.patch OBS-URL: https://build.opensuse.org/request/show/1191065 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=510
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, $_);
|