From bb51cc7f30d30016cd52be0cf10993b63cc21954 Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Tue, 26 Aug 2025 22:03:07 -0300 Subject: [PATCH] fix: lint failing because of /var/roothome Signed-off-by: Tulip Blossom --- Containerfile | 2 +- build.sh | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Containerfile b/Containerfile index 55bc7ad..f9680f0 100644 --- a/Containerfile +++ b/Containerfile @@ -11,4 +11,4 @@ RUN --mount=type=tmpfs,dst=/var \ --mount=type=bind,from=ctx,source=/,dst=/tmp/build-scripts \ /tmp/build-scripts/build.sh -RUN bootc container lint --fatal-warnings +RUN rm -rf /var/* && bootc container lint --fatal-warnings diff --git a/build.sh b/build.sh index 73cf357..34810e1 100755 --- a/build.sh +++ b/build.sh @@ -75,7 +75,3 @@ KERNEL_VERSION="$(find "/usr/lib/modules" -maxdepth 1 -type d ! -path "/usr/lib/ export DRACUT_NO_XATTR=1 dracut --no-hostonly --kver "$KERNEL_VERSION" --reproducible --zstd -v --add ostree -f "/usr/lib/modules/$KERNEL_VERSION/initramfs.img" chmod 0600 "/usr/lib/modules/${KERNEL_VERSION}/initramfs.img" - -rm -rf /var/* - -bootc container lint