mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-05 15:04:24 +01:00
pentoo-livecd: keep opencl set to ocl-icd
This commit is contained in:
parent
85115dc8a7
commit
aaeffe8467
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in a new issue