This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-02 17:09:56 +03:00 committed by GitHub
parent 3fa5f75cee
commit 02bddcef29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ 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 || cat ./nvidia/$(cat ./DRIVER)/$(cat ./KERNEL)/x86_64/log/make.log && exit 100
# Move the debs to output # Move the debs to output
cd ../ cd ../

View File

@ -6,6 +6,6 @@ all:
true true
install: install:
dkms build --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 {} +