Tweaking dkms

This commit is contained in:
Ben Radey
2025-11-12 00:28:40 -05:00
parent bff88fff18
commit 50e9dd47b0
+2
View File
@@ -53,6 +53,8 @@ RUN git clone https://github.com/johnfanv2/LenovoLegionLinux.git && \
cp /LenovoLegionLinux/kernel_module/* /usr/src/LenovoLegionLinux-1.0.0 -r && \
dkms add -m LenovoLegionLinux -v 1.0.0 && \
dkms build -m LenovoLegionLinux -v 1.0.0 -k $(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}') && \
dkms install -m LenovoLegionLinux -v 1.0.0 && \
echo legion-laptop > /etc/modules-load.d/legion_laptop.conf && \
rm -rf LenovoLegionLinux
# The first check makes sure that we have exactly 4 gpg pubkeys trusted in the rpmdb (the ones manually imported above).