diff --git a/0005-install-add-anolis-install-files.patch b/0005-install-add-anolis-install-files.patch index 1bae37853f4b3d4188e315821a070827dfb18f28..7b5988cfdca55741081502c2151c010f09b878ea 100644 --- a/0005-install-add-anolis-install-files.patch +++ b/0005-install-add-anolis-install-files.patch @@ -111,7 +111,7 @@ index 3b9a806..1a9249e 100644 + + # Get exception, when repo's format is wrong (eg. wrong repo url by inst.addrepo or inst.repo) + ypl = self._base._do_package_lists("available", kernel_patterns, True) -+ if not ypl: ++ if not ypl or not ypl.available: + ret_msg = "No kernel is detected" + log.info(ret_msg) + return ret_msg diff --git a/anaconda.spec b/anaconda.spec index a576b2235d0691549d0dd8b18f5c6ac2e54af623..a82d3f7449faa3da136b9bc6644d0c5d871fbe20 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -378,6 +378,8 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d * Mon May 23 2022 Liwei Ge - 33.16.6.7-1.0.4 - Fix installer exception with no swap part Bugzilla: 1304 +- Fix boot.iso exception with no baseos repo + Bugzilla: 1325 * Tue May 17 2022 Liwei Ge - 33.16.6.7-1.0.3 - Fix kernel spoke notify