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
14 lines
269 B
Diff
14 lines
269 B
Diff
--- a/grub-core/osdep/linux/getroot.c
|
|
+++ b/grub-core/osdep/linux/getroot.c
|
|
@@ -740,6 +740,10 @@
|
|
if (! realpath (os_dev, path))
|
|
return NULL;
|
|
|
|
+#ifdef __s390x__
|
|
+ return path;
|
|
+#endif
|
|
+
|
|
if (strncmp ("/dev/", path, 5) == 0)
|
|
{
|
|
char *p = path + 5;
|