From 74cad95ba5bf782441a0b6dbb6c0445c8cb440b2 Mon Sep 17 00:00:00 2001 From: Ben Radey Date: Sat, 21 Mar 2026 21:19:02 -0400 Subject: [PATCH] Adding bootc lint workaround, uhubctl to lenovo --- Containerfile-asrock-x570 | 3 ++- Containerfile-lenovo-16arh7h | 4 +++- Containerfile-supermicro-x10drh | 3 ++- Containerfile-workstation-nvidia-base | 3 ++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Containerfile-asrock-x570 b/Containerfile-asrock-x570 index a5e5879..2c9484b 100644 --- a/Containerfile-asrock-x570 +++ b/Containerfile-asrock-x570 @@ -14,6 +14,7 @@ RUN echo "%_without_kmod_nvidia_detect 1" > /etc/rpm/macros.nvidia-kmod && \ # 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 diff --git a/Containerfile-lenovo-16arh7h b/Containerfile-lenovo-16arh7h index 0dfb994..5adfa44 100644 --- a/Containerfile-lenovo-16arh7h +++ b/Containerfile-lenovo-16arh7h @@ -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 diff --git a/Containerfile-supermicro-x10drh b/Containerfile-supermicro-x10drh index 52256c8..429d66d 100644 --- a/Containerfile-supermicro-x10drh +++ b/Containerfile-supermicro-x10drh @@ -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 diff --git a/Containerfile-workstation-nvidia-base b/Containerfile-workstation-nvidia-base index b927bdf..1690494 100644 --- a/Containerfile-workstation-nvidia-base +++ b/Containerfile-workstation-nvidia-base @@ -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