urldetect: Fix sles11 ppc64 media detection

https://bugzilla.redhat.com/show_bug.cgi?id=1379653
This commit is contained in:
Cole Robinson 2019-06-16 13:50:36 -04:00
parent 52f0b1c91e
commit 03ded3e2bc

View File

@ -516,10 +516,13 @@ class _SuseDistro(_RHELDistro):
("boot/%s/vmlinuz-xen" % tree_arch,
"boot/%s/initrd-xen" % tree_arch))
if (tree_arch == "s390x" and
str(self._os_variant).startswith(("sles11", "sled11"))):
if str(self._os_variant).startswith(("sles11", "sled11")):
if tree_arch == "s390x":
self._kernel_paths.append(
("boot/s390x/vmrdr.ikr", "boot/s390x/initrd"))
if tree_arch == "ppc64":
self._kernel_paths.append(
("suseboot/linux64", "suseboot/initrd64"))
# Tested with SLES 12 for ppc64le, all s390x
self._kernel_paths.append(