summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/util-linux-nosystemd/60-rfkill.rules1
-rw-r--r--pcr/util-linux-nosystemd/PKGBUILD16
2 files changed, 12 insertions, 5 deletions
diff --git a/pcr/util-linux-nosystemd/60-rfkill.rules b/pcr/util-linux-nosystemd/60-rfkill.rules
new file mode 100644
index 000000000..bc98a3bef
--- /dev/null
+++ b/pcr/util-linux-nosystemd/60-rfkill.rules
@@ -0,0 +1 @@
+KERNEL=="rfkill", GROUP="rfkill", MODE="0664"
diff --git a/pcr/util-linux-nosystemd/PKGBUILD b/pcr/util-linux-nosystemd/PKGBUILD
index 3cf605bd5..0f4144ec2 100644
--- a/pcr/util-linux-nosystemd/PKGBUILD
+++ b/pcr/util-linux-nosystemd/PKGBUILD
@@ -7,7 +7,7 @@
pkgbase=util-linux-nosystemd
pkgname=(util-linux-nosystemd libutil-linux-nosystemd)
_pkgmajor=2.31
-pkgver=${_pkgmajor}
+pkgver=${_pkgmajor}.1
pkgrel=1
pkgdesc="Miscellaneous system utilities for Linux"
url="https://www.kernel.org/pub/linux/utils/util-linux/"
@@ -18,13 +18,15 @@ options=('strip' 'debug')
validpgpkeys=('B0C64D14301CC6EFAEDF60E4E4B71D5EEC39C284') # Karel Zak
source=("https://www.kernel.org/pub/linux/utils/util-linux/v$_pkgmajor/${pkgbase%-nosystemd}-$pkgver.tar."{xz,sign}
pam-{login,common,su}
- 'util-linux.sysusers')
-sha256sums=('f9be7cdcf4fc5c5064a226599acdda6bdf3d86c640152ba01ea642d91108dc8a'
+ 'util-linux.sysusers'
+ '60-rfkill.rules')
+sha256sums=('1a51b16fa9cd51d26ef9ab52d2f1de12403b810fc8252bf7d478df91b3cddf11'
'SKIP'
'993a3096c2b113e6800f2abbd5d4233ebf1a97eef423990d3187d665d3490b92'
'fc6807842f92e9d3f792d6b64a0d5aad87995a279153ab228b1b2a64d9f32f20'
'51eac9c2a2f51ad3982bba35de9aac5510f1eeff432d2d63c6362e45d620afc0'
- 'a3980e33ef3a8d356379b4964c9730fd525d46e5b28cded5d0b50d6dc8a5563c')
+ 'a3980e33ef3a8d356379b4964c9730fd525d46e5b28cded5d0b50d6dc8a5563c'
+ '7423aaaa09fee7f47baa83df9ea6fef525ff9aec395c8cbd9fe848ceb2643f37')
build() {
cd "${pkgbase%-nosystemd}-$pkgver"
@@ -42,7 +44,8 @@ build() {
--enable-mesg \
--with-python=3 \
--with-systemd=no \
- --with-systemdsystemunitdir=no
+ --with-systemdsystemunitdir=no \
+ --with-python=3
make
}
@@ -85,6 +88,9 @@ package_util-linux-nosystemd() {
### install sysusers
install -Dm644 "$srcdir/util-linux.sysusers" \
"$pkgdir/usr/lib/sysusers.d/util-linux.conf"
+
+ install -Dm644 "$srcdir/60-rfkill.rules" \
+ "$pkgdir/usr/lib/udev/rules.d/60-rfkill.rules"
}
package_libutil-linux-nosystemd() {