From 6d22541bcebb7236bedfb98a96d5a1292072e86c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 Jun 2012 00:01:36 +0000 Subject: Thu Jun 21 00:01:36 UTC 2012 --- community-testing/vhba-module/60-vhba.rules | 14 +++++++++++++- community-testing/vhba-module/PKGBUILD | 6 +++--- community-testing/vhba-module/vhba-module.install | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) (limited to 'community-testing/vhba-module') 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 # Contributor: Mateusz Herych # Contributor: Charles Lindsay @@ -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) } -- cgit v1.2.3-54-g00ecf