mirror of
https://github.com/Frogging-Family/nvidia-all
synced 2024-10-30 15:20:10 +00:00
Blacklist Nouveau on closed or open branches (#235)
This commit is contained in:
parent
e36962c522
commit
75be81e654
11
PKGBUILD
11
PKGBUILD
@ -2024,6 +2024,12 @@ if [ "$_dkms" = "true" ] || [ "$_dkms" = "full" ]; then
|
||||
install -dm 755 "${pkgdir}"/usr/{lib/modprobe.d,src}
|
||||
cp -dr --no-preserve='ownership' kernel-dkms "${pkgdir}/usr/src/nvidia-${pkgver}"
|
||||
|
||||
|
||||
install -Dm644 "${srcdir}/nvidia-tkg.hook" "${pkgdir}/usr/share/libalpm/hooks/nvidia-tkg.hook"
|
||||
|
||||
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE"
|
||||
fi
|
||||
|
||||
if [ "$_blacklist_nouveau" = false ]; then
|
||||
echo "skip blacklist nouveau\n"
|
||||
else
|
||||
@ -2032,11 +2038,6 @@ if [ "$_dkms" = "true" ] || [ "$_dkms" = "full" ]; then
|
||||
echo "nvidia-uvm" |
|
||||
install -Dm644 /dev/stdin "${pkgdir}/etc/modules-load.d/${pkgname}.conf"
|
||||
fi
|
||||
|
||||
install -Dm644 "${srcdir}/nvidia-tkg.hook" "${pkgdir}/usr/share/libalpm/hooks/nvidia-tkg.hook"
|
||||
|
||||
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE"
|
||||
fi
|
||||
}
|
||||
source /dev/stdin <<EOF
|
||||
package_$__branchname-dkms-tkg() {
|
||||
|
Loading…
Reference in New Issue
Block a user