Skip to content

Commit

Permalink
centos: Drop c9s epel requirement for systemd-boot
Browse files Browse the repository at this point in the history
It's available in the base repositories now. We still need epel on
the redhat derivatives for now.
  • Loading branch information
DaanDeMeyer committed Mar 28, 2023
1 parent 33a3396 commit ae7aa6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkosi/distributions/centos.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ def install(cls, state: MkosiState) -> None:
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")

if "epel" in state.config.repositories:
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.
Expand Down

0 comments on commit ae7aa6a

Please sign in to comment.