Commit 8d71f0bd authored by philm's avatar philm
Browse files

fix nvidia-drv.conf conflict

parent 518b598d
......@@ -44,10 +44,6 @@ package() {
"${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
install -d -m755 "${pkgdir}/etc/modprobe.d"
echo "blacklist nouveau" >> "${pkgdir}/etc/modprobe.d/nouveau_blacklist.conf"
# create /etc/nvidia-drv.conf for chakra-hardware-detection and tribe
echo "NVIDIA_DRV_VER=\"${pkgver}\"" > $pkgdir/etc/nvidia-drv.conf
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
gzip "${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment