summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-03-26 21:55:07 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-03-26 21:55:07 (GMT)
commitb6e3f89934e70bbed2a7e1c550760fc9d356c821 (patch)
tree2d6721a4098493c3d3eaade10148efcb091c0d02 /abs/core-testing
parent43e339db3b03991725137cc1538215c26d5c9b64 (diff)
downloadlinhes_pkgbuild-b6e3f89934e70bbed2a7e1c550760fc9d356c821.zip
linhes_pkgbuild-b6e3f89934e70bbed2a7e1c550760fc9d356c821.tar.gz
linhes_pkgbuild-b6e3f89934e70bbed2a7e1c550760fc9d356c821.tar.bz2
plextor-convertX-driver: Add required usbfs line to /etc/fstab via .install
closes 370
Diffstat (limited to 'abs/core-testing')
-rwxr-xr-xabs/core-testing/plextor-convertX-driver/PKGBUILD5
-rwxr-xr-xabs/core-testing/plextor-convertX-driver/convertX.install3
2 files changed, 7 insertions, 1 deletions
diff --git a/abs/core-testing/plextor-convertX-driver/PKGBUILD b/abs/core-testing/plextor-convertX-driver/PKGBUILD
index 14ecfdc..8b203f6 100755
--- a/abs/core-testing/plextor-convertX-driver/PKGBUILD
+++ b/abs/core-testing/plextor-convertX-driver/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=plextor-convertX-driver
pkgver=0.9.8
-pkgrel=6
+pkgrel=7
_kernver=2.6.28-LinHES
pkgdesc="Drivers for Plextor tuners"
arch=(i686 x86_64)
@@ -31,3 +31,6 @@ build() {
install -m755 apps/gorecord $startdir/pkg/usr/bin/gorecord
install -m755 apps/modet $startdir/pkg/usr/bin/modet
}
+md5sums=('b4299b6e2fcbaf461bc8afe36654f314'
+ 'e4c7bc33d6e69eafc10bd107cf648828'
+ '3b89d8746adf70102eeeb47d03627ece')
diff --git a/abs/core-testing/plextor-convertX-driver/convertX.install b/abs/core-testing/plextor-convertX-driver/convertX.install
index 8081c6a..5b79d84 100755
--- a/abs/core-testing/plextor-convertX-driver/convertX.install
+++ b/abs/core-testing/plextor-convertX-driver/convertX.install
@@ -7,6 +7,8 @@ post_install() {
echo ">>> Updating module dependencies. Please wait ..."
KERNEL_VERSION=2.6.28-LinHES
depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ echo "# Added For Plextor ConvertX" >> /etc/fstab
+ echo "usbfs /proc/bus/usb usbfs devmode=0666 0 0" >> /etc/fstab
/bin/true
}
@@ -23,6 +25,7 @@ post_remove() {
echo ">>> Updating module dependencies. Please wait ..."
KERNEL_VERSION=2.6.28-LinHES
depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ sed -i~ -e '/ConvertX/d' -e '/usbfs/d' /etc/fstab
/bin/true
}