diff options
author | root <root@rshg054.dnsready.net> | 2012-06-21 00:01:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-21 00:01:36 +0000 |
commit | 6d22541bcebb7236bedfb98a96d5a1292072e86c (patch) | |
tree | 1656959d3d65b061d69d74cef6b740dbc3476683 /community-testing/vhba-module | |
parent | 530e6e88786befa5d1bcd569e480f1b9fec5b102 (diff) |
Thu Jun 21 00:01:36 UTC 2012
Diffstat (limited to 'community-testing/vhba-module')
-rw-r--r-- | community-testing/vhba-module/60-vhba.rules | 14 | ||||
-rw-r--r-- | community-testing/vhba-module/PKGBUILD | 6 | ||||
-rw-r--r-- | community-testing/vhba-module/vhba-module.install | 2 |
3 files changed, 17 insertions, 5 deletions
diff --git a/community-testing/vhba-module/60-vhba.rules b/community-testing/vhba-module/60-vhba.rules index 91de6f86a..e4de1dca7 100644 --- a/community-testing/vhba-module/60-vhba.rules +++ b/community-testing/vhba-module/60-vhba.rules @@ -1 +1,13 @@ -KERNEL=="vhba_ctl", NAME="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu" +ACTION=="remove", GOTO="vhba_end" +KERNEL!="vhba_ctl", GOTO="vhba_end" + +NAME="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu" + +TEST=="/sys/fs/cgroup/systemd", GOTO="vhba_uaccess" +TAG+="udev-acl" +GOTO="vhba_end" + +LABEL="vhba_uaccess" +TAG+="uaccess" + +LABEL="vhba_end" diff --git a/community-testing/vhba-module/PKGBUILD b/community-testing/vhba-module/PKGBUILD index 685a5db1d..083415a0c 100644 --- a/community-testing/vhba-module/PKGBUILD +++ b/community-testing/vhba-module/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 71080 2012-05-23 14:37:08Z heftig $ +# $Id: PKGBUILD 72680 2012-06-19 12:52:14Z heftig $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Charles Lindsay <charles@chaoslizard.org> @@ -6,7 +6,7 @@ pkgname=vhba-module pkgver=20120422 _extramodules=extramodules-3.4-ARCH -pkgrel=1 +pkgrel=2 pkgdesc="Kernel module that emulates SCSI devices" arch=('i686' 'x86_64') url="http://cdemu.sourceforge.net/" @@ -17,7 +17,7 @@ install=$pkgname.install source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2" '60-vhba.rules') md5sums=('d97372da1d270d1605742b2995fb6678' - '549bd2d9696bd1884c8eed7193c00e21') + 'b5e82d0160e7a181219b67c1794d5c27') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community-testing/vhba-module/vhba-module.install b/community-testing/vhba-module/vhba-module.install index 73029498f..d9264d853 100644 --- a/community-testing/vhba-module/vhba-module.install +++ b/community-testing/vhba-module/vhba-module.install @@ -1,7 +1,7 @@ post_upgrade() { ! grep -q 'cdemu' /etc/group && groupadd cdemu echo " > Updating module dependencies..." - EXTRAMODULES='extramodules-3.2-ARCH' + EXTRAMODULES='extramodules-3.4-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } |