Adding bootc lint workaround, uhubctl to lenovo
This commit is contained in:
@@ -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!
|
# Any more than that means that dnf automatically added a new one, which is shady!
|
||||||
# Then: cleanup image for linting
|
# Then: cleanup image for linting
|
||||||
# Finally: verify image is good
|
# 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) ]] && \
|
RUN [[ 4 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
|
||||||
rm -rf /var /boot && mkdir /var /boot && \
|
rm -rf /var /boot && mkdir /var /boot && \
|
||||||
bootc container lint --fatal-warnings --skip baseimage-composefs
|
bootc container lint --fatal-warnings --skip nonempty-run-tmp
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ RUN dnf5 install -y \
|
|||||||
dkms \
|
dkms \
|
||||||
python3-pyusb \
|
python3-pyusb \
|
||||||
radeontop \
|
radeontop \
|
||||||
|
uhubctl \
|
||||||
waydroid \
|
waydroid \
|
||||||
xinput && \
|
xinput && \
|
||||||
dnf5 clean all
|
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!
|
# Any more than that means that dnf automatically added a new one, which is shady!
|
||||||
# Then: cleanup image for linting
|
# Then: cleanup image for linting
|
||||||
# Finally: verify image is good
|
# 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) ]] && \
|
RUN [[ 4 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
|
||||||
rm -rf /var /boot && mkdir /var /boot && \
|
rm -rf /var /boot && mkdir /var /boot && \
|
||||||
bootc container lint --fatal-warnings --skip baseimage-composefs
|
bootc container lint --fatal-warnings --skip nonempty-run-tmp
|
||||||
|
|||||||
@@ -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!
|
# Any more than that means that dnf automatically added a new one, which is shady!
|
||||||
# Then: cleanup image for linting
|
# Then: cleanup image for linting
|
||||||
# Finally: verify image is good
|
# 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) ]] && \
|
RUN [[ 7 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
|
||||||
rm -rf /var /boot && mkdir /var /boot && \
|
rm -rf /var /boot && mkdir /var /boot && \
|
||||||
bootc container lint --fatal-warnings --skip baseimage-composefs
|
bootc container lint --fatal-warnings --skip nonempty-run-tmp
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ RUN rpm -q akmod-nvidia && \
|
|||||||
# Any more than that means that dnf automatically added a new one, which is shady!
|
# Any more than that means that dnf automatically added a new one, which is shady!
|
||||||
# Then: cleanup image for linting
|
# Then: cleanup image for linting
|
||||||
# Finally: verify image is good
|
# 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) ]] && \
|
RUN [[ 4 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
|
||||||
rm -rf /var /boot && mkdir /var /boot && \
|
rm -rf /var /boot && mkdir /var /boot && \
|
||||||
bootc container lint --fatal-warnings --skip baseimage-composefs
|
bootc container lint --fatal-warnings --skip nonempty-run-tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user