some profiles do not have squashfs listed

This commit is contained in:
Louis Abel 2024-10-01 12:55:33 -07:00
parent 8c775c308c
commit 5e6427ea4b
Signed by untrusted user: label
GPG key ID: 2A6975660E424560

View file

@ -294,7 +294,7 @@ class IsoBuild:
builddir=self.mock_work_root, builddir=self.mock_work_root,
lorax_work_root=self.lorax_result_root, lorax_work_root=self.lorax_result_root,
bugurl=self.bugurl, bugurl=self.bugurl,
squashfs_only=self.iso_map['lorax']['squashfs_only'], squashfs_only=self.iso_map['lorax'].get('squashfs_only', None),
) )
with open(mock_iso_path, "w+") as mock_iso_entry: with open(mock_iso_path, "w+") as mock_iso_entry: