From: Daan De Meyer Date: Tue, 28 Mar 2023 11:26:28 +0000 (+0200) Subject: centos: Drop c9s epel requirement for systemd-boot X-Git-Tag: v15~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e95b138a2cf9353ea141bba9a9e296ae69a02a;p=thirdparty%2Fmkosi.git centos: Drop c9s epel requirement for systemd-boot It's available in the base repositories now. We still need epel on the redhat derivatives for now. --- diff --git a/mkosi/distributions/centos.py b/mkosi/distributions/centos.py index 78832863b..3018a3ca9 100644 --- a/mkosi/distributions/centos.py +++ b/mkosi/distributions/centos.py @@ -101,6 +101,8 @@ class CentosInstaller(DistributionInstaller): if not state.config.initrds: add_packages(state.config, packages, "dracut", "dracut-config-generic") add_packages(state.config, packages, "systemd-udev", conditional="systemd") + if release >= 9: + add_packages(state.config, packages, "systemd-boot", conditional="systemd") if state.config.ssh: add_packages(state.config, packages, "openssh-server") @@ -108,8 +110,6 @@ class CentosInstaller(DistributionInstaller): add_packages(state.config, packages, "epel-release") if state.config.netdev: add_packages(state.config, packages, "systemd-networkd", conditional="systemd") - if release >= 9: - add_packages(state.config, packages, "systemd-boot", conditional="systemd") # Make sure we only install the minimal language files by default on CentOS Stream 8 which still # defaults to all langpacks.