pentoo-livecd: keep opencl set to ocl-icd

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-02-06 14:44:44 -05:00
parent 85115dc8a7
commit aaeffe8467
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
2 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@ start() {
/opt/bin/nvidia-xconfig
#eselect opengl set nvidia
[ "$(eselect opengl show)" != "xorg-x11" ] && eselect opengl set xorg-x11
eselect opencl set nvidia
eselect opencl set ocl-icd
einfo "Enabled evil NVIDIA binary GPU driver"
eend 0
fi
@ -191,7 +191,7 @@ start() {
/opt/bin/aticonfig --initial
#eselect opengl set ati
[ "$(eselect opengl show)" != "xorg-x11" ] && eselect opengl set xorg-x11
eselect opencl set amd
eselect opencl set ocl-icd
einfo "Successfully switched to AMD binary GPU driver"
eend 0
fi

View file

@ -39,7 +39,7 @@ src_install() {
newsbin "${FILESDIR}"/makemo-2019.0 makemo
newsbin "${FILESDIR}"/livecd-setpass-r1 livecd-setpass
newinitd "${FILESDIR}"/binary-driver-handler.initd-2019.0 binary-driver-handler
newinitd "${FILESDIR}"/binary-driver-handler.initd-2019.0-r1 binary-driver-handler
exeinto /root/Desktop
doexe "${FILESDIR}"/networkmanager.desktop