Tweaking dkms
This commit is contained in:
@@ -53,6 +53,8 @@ RUN git clone https://github.com/johnfanv2/LenovoLegionLinux.git && \
|
|||||||
cp /LenovoLegionLinux/kernel_module/* /usr/src/LenovoLegionLinux-1.0.0 -r && \
|
cp /LenovoLegionLinux/kernel_module/* /usr/src/LenovoLegionLinux-1.0.0 -r && \
|
||||||
dkms add -m LenovoLegionLinux -v 1.0.0 && \
|
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 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
|
rm -rf LenovoLegionLinux
|
||||||
|
|
||||||
# The first check makes sure that we have exactly 4 gpg pubkeys trusted in the rpmdb (the ones manually imported above).
|
# The first check makes sure that we have exactly 4 gpg pubkeys trusted in the rpmdb (the ones manually imported above).
|
||||||
|
|||||||
Reference in New Issue
Block a user