From d88208bfbaf0fd1a19283a871869f6082beebbb2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 3 Feb 2025 08:49:43 -0500 Subject: [PATCH] kernel-install: Enable everywhere Since we'll have the updated rpm-ostree and we believe this works. Signed-off-by: Colin Walters --- tier-0/kernel-install.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tier-0/kernel-install.yaml b/tier-0/kernel-install.yaml index 2948d12..a0e915f 100644 --- a/tier-0/kernel-install.yaml +++ b/tier-0/kernel-install.yaml @@ -4,13 +4,10 @@ postprocess: #!/usr/bin/env bash set -xeuo pipefail source /usr/lib/os-release - # Check if the ID is Fedora and VERSION_ID is 42 or higher - if [[ "$ID" == "fedora" && "$VERSION_ID" -ge 42 ]]; then - echo -e "# kernel-install will not try to run dracut and allow rpm-ostree to\n\ + echo -e "# kernel-install will not try to run dracut and allow rpm-ostree to\n\ # take over. Rpm-ostree will use this to know that it is responsible\n\ # to run dracut and ensure that there is only one kernel in the image\n\ layout=ostree" | tee /usr/lib/kernel/install.conf > /dev/null - fi # By default dnf keeps multiple versions of the kernel, with this # configuration we tell dnf to treat the kernel as everything else. # https://dnf.readthedocs.io/en/latest/conf_ref.html#main-options