summaryrefslogtreecommitdiffstats
path: root/abs/core/v4l-dvb
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-09-04 13:36:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-09-04 13:36:50 (GMT)
commit92def6cd50e5b59d008c8ce70e322c5891913712 (patch)
tree5ac2be2227c52da45a1f22d2cfcaac7c1e6e67bb /abs/core/v4l-dvb
parente89e522b43212d98839be804b6803019d71f3e53 (diff)
downloadlinhes_pkgbuild-92def6cd50e5b59d008c8ce70e322c5891913712.zip
linhes_pkgbuild-92def6cd50e5b59d008c8ce70e322c5891913712.tar.gz
linhes_pkgbuild-92def6cd50e5b59d008c8ce70e322c5891913712.tar.bz2
Merge remote-tracking branch 'origin/testing' into testing
# By Britney Fransen (12) and others # Via Britney Fransen * origin/testing: mythtv: fixed and cleaned some menus. Closes #846 v4l-dvb: fix conflicting kernel modules. refs #844 mythdb-initial: add MiscStatusScript value to initial db. refs #845. LinHES-system: remove dup .install keylaunch: update .keylaunchrc to run mythtv-setup as user rsyslog: increase log retention to 2 weeks runit-scripts: enable cron logging to syslog premake:initial inclusion. closes #801 libaacs-git:initial inclusion. closes #801 aacskeys:initial inclusion. closes #801 LinHES-system: Add scripts for misc status in MythWeb. closes #845. linhes-scripts: tweak myth2mkv. Update version to 0.25-004 dvb-firmware: add xc5000c firmware. change xc5000 modprobe options. closes #844 v4l-dvb: update to snapshot from 20120828. refs #844 LinHES-system: update myth_status.py to work with tuners in error. closes #843 curlftpfs: Initial Inclusion. linhes-scripts: minor changes to myth2mkv mythtv:Bumped to latest fixes. Added ./configure items to close #842. LinHES-config:7.4 rdt 9th anniversary release. Conflicts: abs/core/LinHES-config/LinHES-release abs/core/LinHES-config/PKGBUILD abs/core/LinHES-system/PKGBUILD abs/core/keylaunch/PKGBUILD abs/core/linhes-scripts/PKGBUILD abs/core/mythdb-initial/PKGBUILD abs/core/mythdb-initial/mc.sql abs/core/mythtv/stable-0.25/git_src/git_hash abs/core/mythtv/stable-0.25/mythtv/PKGBUILD abs/core/rsyslog/PKGBUILD abs/core/runit-scripts/PKGBUILD abs/core/v4l-dvb/PKGBUILD
Diffstat (limited to 'abs/core/v4l-dvb')
-rw-r--r--abs/core/v4l-dvb/PKGBUILD9
-rw-r--r--abs/core/v4l-dvb/v4l-dvb.install8
2 files changed, 6 insertions, 11 deletions
diff --git a/abs/core/v4l-dvb/PKGBUILD b/abs/core/v4l-dvb/PKGBUILD
index ac150bb..f19c2fa 100644
--- a/abs/core/v4l-dvb/PKGBUILD
+++ b/abs/core/v4l-dvb/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=v4l-dvb
_kernver=`uname -r`
-pkgver=20120828
+pkgver=20120904
pkgrel=1
pkgdesc="V4L-DVB device drivers (newer than those included in kernel26)"
arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@ build() {
msg "Connecting to GIT server...."
if [ -d "${srcdir}/${_gitname}" ] ; then
- cd ${_gitname} && git checkout -- . && git pull --rebase
+ cd ${_gitname} && git pull --rebase
else
git clone ${_gitroot}
fi
@@ -42,7 +42,8 @@ build() {
package() {
cd "${srcdir}/${_gitname}"
- make DESTDIR="${pkgdir}" install
- rm -fr ${pkgdir}/lib/modules/$_kernver/modules*
+ make DESTDIR="${pkgdir}/lib/modules/$_kernver/updates" install
+ # compress new kernel modules
+ find ${pkgdir}/lib/modules/$_kernver/updates/ -not -name 'media.ko' -name '*.ko' -exec gzip '{}' \;
}
md5sums=()
diff --git a/abs/core/v4l-dvb/v4l-dvb.install b/abs/core/v4l-dvb/v4l-dvb.install
index ec6382d..f7b7197 100644
--- a/abs/core/v4l-dvb/v4l-dvb.install
+++ b/abs/core/v4l-dvb/v4l-dvb.install
@@ -1,18 +1,12 @@
post_install() {
- echo ">>> Removing duplicate compressed kernel modules..."
- for file in `find /lib/modules -name "*.ko"`; do if [[ -e $file.gz ]]; then rm "$file.gz"; fi; done
echo ">>> Running depmod..."
depmod
}
post_upgrade() {
- echo ">>> Removing duplicate compressed kernel modules..."
- for file in `find /lib/modules -name "*.ko"`; do if [[ -e $file.gz ]]; then rm "$file.gz"; fi; done
- echo ">>> Running depmod..."
- depmod
+ post_install
}
post_remove() {
echo ">>> v4l-dvb has been removed"
- echo ">>> kernel26 & dvb-firmware & linux-firmware should be reinstalled"
}