Adding bootc lint workaround, uhubctl to lenovo

This commit is contained in:
Ben Radey
2026-03-21 21:19:02 -04:00
parent d4f9de23d6
commit 74cad95ba5
4 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -59,6 +59,7 @@ RUN rpm -q akmod-nvidia && \
# Any more than that means that dnf automatically added a new one, which is shady!
# Then: cleanup image for linting
# Finally: verify image is good
# FIXME - remove the `--skip nonempty-run-tmp` when it's no longer needed
RUN [[ 4 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
rm -rf /var /boot && mkdir /var /boot && \
bootc container lint --fatal-warnings --skip baseimage-composefs
bootc container lint --fatal-warnings --skip nonempty-run-tmp