diff options
author | Bastian Wissler | 2009-02-26 17:37:43 +0100 |
---|---|---|
committer | Bastian Wissler | 2009-02-26 17:37:43 +0100 |
commit | 8c7b7ce9955d98f11d251da025a7dec8d230f46f (patch) | |
tree | 5cfcf5b698099ed3433d49a4eb3ecaebfa90372c /os-plugins/plugins/xserver/files/suse-gfx-install.sh | |
parent | Further improvements for run-virt.sh ... (diff) | |
download | core-8c7b7ce9955d98f11d251da025a7dec8d230f46f.tar.gz core-8c7b7ce9955d98f11d251da025a7dec8d230f46f.tar.xz core-8c7b7ce9955d98f11d251da025a7dec8d230f46f.zip |
vmchooser:
* various changes to run-virt.sh
* new vmchooser binary puts path of xml file to image_name node
xserver:
* suse-gfx-install: new link for ati drivers
* XX_xserver: fixed path
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2645 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xserver/files/suse-gfx-install.sh')
-rwxr-xr-x | os-plugins/plugins/xserver/files/suse-gfx-install.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/os-plugins/plugins/xserver/files/suse-gfx-install.sh b/os-plugins/plugins/xserver/files/suse-gfx-install.sh index eb985f47..d1f41c90 100755 --- a/os-plugins/plugins/xserver/files/suse-gfx-install.sh +++ b/os-plugins/plugins/xserver/files/suse-gfx-install.sh @@ -245,6 +245,7 @@ if [ "$1" = "ati" ]; then cd .. rm -rf ${PKG} + buildfglrx ${KVERS} ;; @@ -296,6 +297,18 @@ if [ "$1" = "ati" ]; then esac cd .. + # OpenGl implementation (libGL?) expect fglrx_dri.so in /usr/X11R6/lib/dri/ + if [ ! -f /usr/X11R6/lib/modules/dri/fglrx_dri.so -a \ + ! -f usr/X11R6/lib/modules/dri/fglrx_dri.so ]; then + if [ ! -d /usr/X11R6/lib/modules/dri ]; then + mkdir -p /usr/X11R6/lib/modules/dri + fi + if [ -f usr/lib/dri/fglrx_dri.so ]; then + ln -s ${BASE}/ati/usr/lib/dri/fglrx_dri.so \ + /usr/X11R6/lib/modules/dri/fglrx_dri.so + fi + fi + rm -rf temp/ fi |