This commit is contained in:
parent
09aa737bd6
commit
0bc8fde9e7
2
main.sh
2
main.sh
@ -26,8 +26,6 @@ dpkg-deb -x ./nvidia-dkms-$DRIVER*.deb /
|
||||
|
||||
# Build package
|
||||
dpkg-buildpackage --no-sign
|
||||
echo 'DKMS MAKEFILE LOG:'
|
||||
cat ./nvidia/$(cat ./DRIVER)/$(cat ./KERNEL)/x86_64/log/make.log
|
||||
|
||||
# Move the debs to output
|
||||
cd ../
|
||||
|
@ -8,4 +8,8 @@ all:
|
||||
install:
|
||||
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/*
|
||||
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