mount: Add s390x support to IsoMountopoint

kernel and initrd are under images/ on the iso.

Resolves: rhbz#2028104
This commit is contained in:
Brian C. Lane 2021-12-07 10:32:14 -08:00
parent c5325eb010
commit 7b93703568

View File

@ -60,7 +60,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