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
+3 -1
View File
@@ -9,6 +9,7 @@ RUN dnf5 install -y \
dkms \
python3-pyusb \
radeontop \
uhubctl \
waydroid \
xinput && \
dnf5 clean all
@@ -26,6 +27,7 @@ RUN git clone https://github.com/johnfanv2/LenovoLegionLinux.git && \
# 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