From d9f2f7e6396e67f59126ddae6b595b926bff5a47 Mon Sep 17 00:00:00 2001 From: Richard Case Date: Wed, 18 Dec 2024 13:54:00 +0000 Subject: [PATCH] fix: add 0 suffix to config file Signed-off-by: Richard Case --- kernel-fc/Dockerfile | 2 +- kernel-k8s-fc/Dockerfile | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel-fc/Dockerfile b/kernel-fc/Dockerfile index bfeaa59..fd42bf5 100644 --- a/kernel-fc/Dockerfile +++ b/kernel-fc/Dockerfile @@ -38,7 +38,7 @@ RUN make LOCALVERSION= olddefconfig RUN make LOCALVERSION= -j32 RUN cp vmlinux /boot/vmlinux && \ - cp .config /boot/config-${KERNEL_VERSION} + cp .config /boot/config-${KERNEL_VERSION}.0 FROM scratch LABEL org.opencontainers.image.source=https://github.com/liquidmetal-dev/mikrolite-images diff --git a/kernel-k8s-fc/Dockerfile b/kernel-k8s-fc/Dockerfile index 5bf02a3..566f0f7 100644 --- a/kernel-k8s-fc/Dockerfile +++ b/kernel-k8s-fc/Dockerfile @@ -37,12 +37,11 @@ COPY ${KERNEL_CONFIG} .config RUN make LOCALVERSION= olddefconfig RUN make LOCALVERSION= -j32 -RUN make LOCALVERSION= modules_install + RUN cp vmlinux /boot/vmlinux && \ - cp .config /boot/config-${KERNEL_VERSION} + cp .config /boot/config-${KERNEL_VERSION}.0 FROM scratch LABEL org.opencontainers.image.source=https://github.com/liquidmetal-dev/mikrolite-images -COPY --from=builder /boot /boot -COPY --from=builder /lib/modules /lib/modules \ No newline at end of file +COPY --from=builder /boot / \ No newline at end of file