From 5e1f32a3647a11c883182bb6a6293a002c4095ea Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 22 May 2019 10:53:44 +0200 Subject: [PATCH] nvidia_current: provide libglxserver_nvidia module The libglxserver_nvidia.so module is 'normaly' installed under /usr/lib/xorg/modules/extensions, from there it gets loaded by Xorg. In our setup we must cheat with the name to stay in line with our /node/usr_share_mxgfx mechanism. The other driver setups expect a true libglx.so. --- nvidia_current-418.56-1.bee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvidia_current-418.56-1.bee b/nvidia_current-418.56-1.bee index 7d3093fb2..cf6e76477 100755 --- a/nvidia_current-418.56-1.bee +++ b/nvidia_current-418.56-1.bee @@ -58,6 +58,11 @@ mee_install() { fi done + # libglxserver_nvidia.so should reside in /usr/lib/xorg/modules/extensions, + # here we cheat away and stay in line with the /node/usr_share_mxgfx mechanism. + # Additional note: don't put/link libglx.so into /usr/lib. + ln -sv libglxserver_nvidia.so.$PKGVERSION ${D}${LIBDIR}/libglx.so + echo "installing ${NVDRV} as drivers/$(basename ${NVDRV})"; install -c -v ${NVDRV} ${D}${PREFIX}/drivers