From e58c1a48857bc6338220698f9e2e97b513396936 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 17 Feb 2009 23:28:04 -0600
Subject: Move alsa module tar file to /lib/modules to avoid depmod from
 processing a tar file.

---
 abs/core-testing/LinHES-config/PKGBUILD       | 2 +-
 abs/core-testing/LinHES-config/soundconfig.sh | 2 +-
 abs/extra-testing/oss/PKGBUILD                | 2 +-
 abs/extra-testing/oss/oss.install             | 5 ++---
 4 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 073792e..0204d2d 100755
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=1.0
-pkgrel=265
+pkgrel=266
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
 pkgdesc="Install and configure your system"
 depends=(bc libstatgrab  mysql-python expect curl dnsutils parted sg3_utils nmbscan )
diff --git a/abs/core-testing/LinHES-config/soundconfig.sh b/abs/core-testing/LinHES-config/soundconfig.sh
index 5096a97..8985a06 100755
--- a/abs/core-testing/LinHES-config/soundconfig.sh
+++ b/abs/core-testing/LinHES-config/soundconfig.sh
@@ -21,7 +21,7 @@ function load_alsa() {
 #    cd /lib/modules/2.6.21-STB
     KER=`uname -r`
     cd /lib/modules/$KER/kernel/
-    tar -xvf alsa-$KER.tar
+    tar -xvf /lib/modules/alsa-$KER.tar
     pacman -Sf --noconfirm  alsa-lib
 
     depmod -a
diff --git a/abs/extra-testing/oss/PKGBUILD b/abs/extra-testing/oss/PKGBUILD
index c2ac70e..d568ff3 100644
--- a/abs/extra-testing/oss/PKGBUILD
+++ b/abs/extra-testing/oss/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname="oss"
 pkgver="4.1_1051"
-pkgrel=6
+pkgrel=7
 pkgdesc="Open Sound System UNIX audio architecture"
 arch=('i686' 'x86_64')
 url="http://developer.opensound.com/"
diff --git a/abs/extra-testing/oss/oss.install b/abs/extra-testing/oss/oss.install
index 0107686..8c4bd0a 100644
--- a/abs/extra-testing/oss/oss.install
+++ b/abs/extra-testing/oss/oss.install
@@ -7,7 +7,7 @@ post_install() {
 	echo "Creating backup of alsa modules"
 	KER=`uname -r`
 	cd /lib/modules/$KER/kernel
-	tar -cvf alsa-$KER.tar sound
+	tar -cvf /lib/modules/alsa-$KER.tar sound
 	rm -rf sound
 #	/bin/sh /usr/lib/oss/build/install.sh &> /dev/null
 	depmod -a
@@ -20,7 +20,7 @@ post_upgrade() {
 	cd /lib/modules/$KER/kernel
 	if [ -f sound/soundcore.ko ]
 	then
-		tar -cvf alsa-$KER.tar sound
+		tar -cvf /lib/modules/alsa-$KER.tar sound
 		rm -rf sound
 		/bin/true
 	fi
@@ -36,4 +36,3 @@ post_remove() {
 	/bin/true
 }
 
- 
\ No newline at end of file
-- 
cgit v0.12

