diff options
author | lcapriotti <lcapriotti@svn> | 2010-02-11 14:46:17 +0000 |
---|---|---|
committer | lcapriotti <lcapriotti@svn> | 2010-02-11 14:46:17 +0000 |
commit | 88c5fc8e307bc58abc8a83889d847d33d1e25c19 (patch) | |
tree | 0144bd5ceefb526de2825577a2ca74f1ea5b71b7 /tools | |
parent | 25ec4ae6a6cb4d2c302403816c3e6b98ca18abb0 (diff) |
cosmetics
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27654 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools')
5 files changed, 25 insertions, 9 deletions
diff --git a/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/10-buildBC.sh b/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/10-buildBC.sh index 17e44c9ded..6237c8a82a 100644 --- a/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/10-buildBC.sh +++ b/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/10-buildBC.sh @@ -52,9 +52,9 @@ mv crystalhd/linux_lib/libcrystalhd/libcrystalhd.so* ./Files/usr/lib pushd . # Assuming only one kernel is installed! -modulesdir=/lib/modules/$(ls /lib/modules) +kernelVersion=$(ls /lib/modules) +modulesdir=/lib/modules/$kernelVersion -kernelVersion=$(basename $modulesdir) apt-get -y install linux-headers-$kernelVersion # Make kernel module diff --git a/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/20-buildAMD.sh b/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/20-buildAMD.sh index f4482f534c..1b57ab2cf8 100755 --- a/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/20-buildAMD.sh +++ b/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/20-buildAMD.sh @@ -47,9 +47,9 @@ dpkg-deb -x xorg-driver-fglrx-*.deb Files cd ./Files # Assuming only one kernel is installed! -modulesdir=/lib/modules/$(ls /lib/modules) +kernelVersion=$(ls /lib/modules) +modulesdir=/lib/modules/$kernelVersion -kernelVersion=$(basename $modulesdir) apt-get -y install linux-headers-$kernelVersion pushd . diff --git a/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/30-buildNVIDIA.sh b/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/30-buildNVIDIA.sh index f2c0da8dba..5dfeaa1349 100755 --- a/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/30-buildNVIDIA.sh +++ b/tools/XBMCLive/SDK/buildBinaryDrivers/Files/chroot_local-hooks/30-buildNVIDIA.sh @@ -78,9 +78,9 @@ ln -s libglx.so.1 libglx.so popd # Assuming only one kernel is installed! -modulesdir=/lib/modules/$(ls /lib/modules) +kernelVersion=$(ls /lib/modules) +modulesdir=/lib/modules/$kernelVersion -kernelVersion=$(basename $modulesdir) apt-get install linux-headers-$kernelVersion pushd . diff --git a/tools/XBMCLive/SDK/buildLive/Files/chroot_local-hooks/00-installCrystalHD b/tools/XBMCLive/SDK/buildLive/Files/chroot_local-hooks/00-installCrystalHD index f8ea7437c3..78987ecc63 100755 --- a/tools/XBMCLive/SDK/buildLive/Files/chroot_local-hooks/00-installCrystalHD +++ b/tools/XBMCLive/SDK/buildLive/Files/chroot_local-hooks/00-installCrystalHD @@ -29,6 +29,4 @@ tar xvf /root/crystalhd.tar > /dev/null rm /root/crystalhd.tar # Assuming only one kernel is installed! -kernelVersion=/lib/modules/$(ls /lib/modules) - -depmod $kernelVersion +depmod $(ls /lib/modules) diff --git a/tools/XBMCLive/SDK/buildLive/mkConfig.sh.lucid-variant b/tools/XBMCLive/SDK/buildLive/mkConfig.sh.lucid-variant index 6646c2edc1..e00f680c55 100755 --- a/tools/XBMCLive/SDK/buildLive/mkConfig.sh.lucid-variant +++ b/tools/XBMCLive/SDK/buildLive/mkConfig.sh.lucid-variant @@ -1,4 +1,22 @@ +# Copyright (C) 2005-2008 Team XBMC +# http://www.xbmc.org +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with XBMC; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html + makeConfig() { CATEGORIES="main restricted universe multiverse" |