This commit is contained in:
parent
0bc8fde9e7
commit
65199f2e31
5
main.sh
5
main.sh
@ -25,7 +25,10 @@ apt download nvidia-dkms-$DRIVER -y
|
|||||||
dpkg-deb -x ./nvidia-dkms-$DRIVER*.deb /
|
dpkg-deb -x ./nvidia-dkms-$DRIVER*.deb /
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign
|
||||||
|
echo 'DKMS MAKEFILE LOG:'
|
||||||
|
apt install -y tree
|
||||||
|
tree
|
||||||
|
|
||||||
# Move the debs to output
|
# Move the debs to output
|
||||||
cd ../
|
cd ../
|
||||||
|
@ -9,7 +9,4 @@ install:
|
|||||||
fakeroot dkms build --verbose --dkmstree "${MK_WORKDIR}" -m nvidia/"${DRIVER}" -k "${KERNEL}"
|
fakeroot dkms build --verbose --dkmstree "${MK_WORKDIR}" -m nvidia/"${DRIVER}" -k "${KERNEL}"
|
||||||
install -Dt "$(DESTDIR)/usr/lib/modules/"${KERNEL}"/extramodules" -m644 nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}"/module/*
|
install -Dt "$(DESTDIR)/usr/lib/modules/"${KERNEL}"/extramodules" -m644 nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}"/module/*
|
||||||
find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} +
|
find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} +
|
||||||
|
|
||||||
clean:
|
|
||||||
echo 'DKMS MAKEFILE LOG:'
|
|
||||||
cat nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}/log/make.log
|
|
Loading…
Reference in New Issue
Block a user