From fb4b003854788c219aa9bfff30336eb32265c3f7 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 12 Feb 2024 16:23:54 -0500 Subject: [PATCH] eln: sync with stream9 (We should probably only have one file and use buildah --from, but that can be a followup) --- eln-dev/Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eln-dev/Containerfile b/eln-dev/Containerfile index 8582b39..650d2f7 100644 --- a/eln-dev/Containerfile +++ b/eln-dev/Containerfile @@ -1,5 +1,6 @@ FROM quay.io/centos-bootc/fedora-bootc:eln COPY *.repo /etc/yum.repos.d/ RUN dnf --disablerepo='*' --enablerepo=copr-coreos-continuous --enablerepo=copr-rhcontainerbot-bootc -y distro-sync && \ - dnf clean all && rm -rf /var/* && \ - ostree container commit + dnf clean all +# Note we need to regenerate the initramfs because ostree is included in it +RUN set -x; kver=$(cd /usr/lib/modules && echo *); dracut -vf /usr/lib/modules/$kver/initramfs.img $kver