fix(Containerfile): Correct regex when installing fsync kernel

Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
This commit is contained in:
RJ Sampson 2024-07-03 13:27:58 -06:00
parent 7050ee96c0
commit b24e44be7e
Failed to extract signature

View File

@ -57,12 +57,12 @@ RUN rpm-ostree cliwrap install-to-root / && \
echo "Will install ${KERNEL_FLAVOR} kernel" && \
rpm-ostree override replace \
--experimental \
/tmp/fsync-rpms/kernel-(\d+\.\d+\.\d+)*.rpm \
/tmp/fsync-rpms/kernel-core-(\d+\.\d+\.\d+)*.rpm \
/tmp/fsync-rpms/kernel-modules-(\d+\.\d+\.\d+)*.rpm \
/tmp/fsync-rpms/kernel-modules-core-(\d+\.\d+\.\d+)*.rpm \
/tmp/fsync-rpms/kernel-modules-extra-(\d+\.\d+\.\d+)*rpm \
/tmp/fsync-rpms/kernel-uki-virt-(\d+\.\d+\.\d+)*.rpm \
/tmp/fsync-rpms/kernel-6*.rpm \
/tmp/fsync-rpms/kernel-core-*.rpm \
/tmp/fsync-rpms/kernel-modules-*.rpm \
/tmp/fsync-rpms/kernel-modules-core-*.rpm \
/tmp/fsync-rpms/kernel-modules-extra-*.rpm \
/tmp/fsync-rpms/kernel-uki-virt-*.rpm \
; else \
echo "will use kernel from ${KERNEL_FLAVOR} images" \
; fi && \