mount: Add s390x support to IsoMountopoint

kernel and initrd are under images/ on the iso.

Resolves: rhbz#2028089
This commit is contained in:
Brian C. Lane 2021-12-07 10:32:14 -08:00
parent 223f1755ec
commit 710e65fa6f

View File

@ -59,7 +59,8 @@ class IsoMountpoint(object):
kernel_list = [("/isolinux/vmlinuz", "/isolinux/initrd.img"),
("/ppc/ppc64/vmlinuz", "/ppc/ppc64/initrd.img"),
("/images/pxeboot/vmlinuz", "/images/pxeboot/initrd.img")]
("/images/pxeboot/vmlinuz", "/images/pxeboot/initrd.img"),
("/images/kernel.img", "/images/initrd.img")]
if os.path.isdir(self.mount_dir+"/repodata"):
self.repo = self.mount_dir