summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorBastian Wissler2008-08-21 11:37:37 +0200
committerBastian Wissler2008-08-21 11:37:37 +0200
commit62d770c2a5ee541187e304088fccdf1b4145f155 (patch)
tree99bbfbb12a2ad317b777f83e0f6e606bf74c7c2d /os-plugins
parentClean up, indenting, screen dir in var for debian distro-specific. (diff)
downloadcore-62d770c2a5ee541187e304088fccdf1b4145f155.tar.gz
core-62d770c2a5ee541187e304088fccdf1b4145f155.tar.xz
core-62d770c2a5ee541187e304088fccdf1b4145f155.zip
Changes to ati-install-dev.sh: * Kernel version choosing now compatible with all distributions
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2068 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rwxr-xr-xos-plugins/plugins/xserver/files/ati-install-dev.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/xserver/files/ati-install-dev.sh b/os-plugins/plugins/xserver/files/ati-install-dev.sh
index 7df17898..561fa71a 100755
--- a/os-plugins/plugins/xserver/files/ati-install-dev.sh
+++ b/os-plugins/plugins/xserver/files/ati-install-dev.sh
@@ -35,11 +35,11 @@ cd ati
# packages and distribution stuff
cd temp/common/lib/modules/fglrx/build_mod
# faking environment
-uname_r=$(ls /boot/vmlinuz*|grep -v -e "^/boot/vmlinuz$$"|sed 's,/boot/vmlinuz-,,'|sort|tail -n 1)
+uname_r=$(find /lib/modules/2.6* -maxdepth 0|grep -v -e "^/lib/modules/$$"|sed 's,/lib/modules/,,g'|sort|tail -n1)
sed -i "s,^uname_r.*$,uname_r=${uname_r}," make.sh
sed -i "s,kernel_release=.*,kernel_release=${uname_r}," make.sh
#uname -m: just x86_64 and ia64 will get checked. till we support 64bit
-# we'll use i386
+# we'll use i686
sed -i "s,^uname_m.*$,uname_m=i686," make.sh
sh make.sh