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
@@ -102,6 +102,7 @@ RUN test -f /usr/lib/sysusers.d/libvirt.conf || echo -e 'g libvirt 963' > /usr/l
# 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 [[ 7 -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