From 13d1077604ab32bcf257f024e81d919f7d0164bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 8 Jan 2019 14:12:26 +0100 Subject: [PATCH] set inst.stage2 for ppc64le image (cherry picked from commit c53de4e63c37a2272e0699b3a4cc82fce51379da) Related: rhbz#1757338 --- share/templates.d/99-generic/ppc64le.tmpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/share/templates.d/99-generic/ppc64le.tmpl b/share/templates.d/99-generic/ppc64le.tmpl index 16d8d7f1..aeff30eb 100644 --- a/share/templates.d/99-generic/ppc64le.tmpl +++ b/share/templates.d/99-generic/ppc64le.tmpl @@ -12,9 +12,6 @@ LORAXDIR="usr/share/lorax/" ## with '_', which means we won't need any udev escapes. isolabel = ''.join(ch if ch.isalnum() else '_' for ch in isolabel) -## Anaconda finds the CDROM device automatically -rootarg = "" - from os.path import basename %> @@ -50,7 +47,7 @@ install /usr/lib/grub/powerpc-ieee1275/*.lst ${GRUBDIR}/powerpc-ieee1275 install ${configdir}/grub.cfg.in ${GRUBDIR}/grub.cfg replace @PRODUCT@ '${product.name}' ${GRUBDIR}/grub.cfg replace @VERSION@ ${product.version} ${GRUBDIR}/grub.cfg -replace @ROOT@ "${rootarg}" ${GRUBDIR}/grub.cfg +replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev}' ${GRUBDIR}/grub.cfg install ${configdir}/mapping ${BOOTDIR}