fix: lint failing because of /var/roothome

Signed-off-by: Tulip Blossom <tulilirockz@proton.me>
This commit is contained in:
Tulip Blossom
2025-08-26 22:03:07 -03:00
parent 4d89afe729
commit bb51cc7f30
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -11,4 +11,4 @@ RUN --mount=type=tmpfs,dst=/var \
--mount=type=bind,from=ctx,source=/,dst=/tmp/build-scripts \ --mount=type=bind,from=ctx,source=/,dst=/tmp/build-scripts \
/tmp/build-scripts/build.sh /tmp/build-scripts/build.sh
RUN bootc container lint --fatal-warnings RUN rm -rf /var/* && bootc container lint --fatal-warnings
-4
View File
@@ -75,7 +75,3 @@ KERNEL_VERSION="$(find "/usr/lib/modules" -maxdepth 1 -type d ! -path "/usr/lib/
export DRACUT_NO_XATTR=1 export DRACUT_NO_XATTR=1
dracut --no-hostonly --kver "$KERNEL_VERSION" --reproducible --zstd -v --add ostree -f "/usr/lib/modules/$KERNEL_VERSION/initramfs.img" 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" chmod 0600 "/usr/lib/modules/${KERNEL_VERSION}/initramfs.img"
rm -rf /var/*
bootc container lint