forked from gh-mirrored/hallstatt
fix: lint failing because of /var/roothome
Signed-off-by: Tulip Blossom <tulilirockz@proton.me>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user