aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-10 13:55:37 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-11 11:59:23 +0200
commit98746846c0f069bd840293e46bd272f98ee06ca8 (patch)
tree39ecc732681ae936a0b52918179cc1b6c90c54b4 /main
parent0fcda9d6311e4ba19796360edb452a9df9b6af9d (diff)
downloadaports-98746846c0f069bd840293e46bd272f98ee06ca8.tar.bz2
aports-98746846c0f069bd840293e46bd272f98ee06ca8.tar.xz
main/busybox-initscripts: move input devices to new input group
Since this group is used by udev by default for input devices we should also use it in mdev.
Diffstat (limited to 'main')
-rw-r--r--main/busybox-initscripts/APKBUILD8
-rw-r--r--main/busybox-initscripts/busybox-initscripts.post-install3
-rw-r--r--main/busybox-initscripts/mdev.conf9
3 files changed, 12 insertions, 8 deletions
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
index e5e097fa88..ffafbce74e 100644
--- a/main/busybox-initscripts/APKBUILD
+++ b/main/busybox-initscripts/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox-initscripts
pkgver=3.0
-pkgrel=4
+pkgrel=5
pkgdesc="Init scripts for busybox daemons"
url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
arch="noarch"
@@ -69,7 +69,7 @@ e70b6427fb7b52f49801bcdfb99db3a2 rdate.initd
22adbf155ffc4595206ded6daad07812 rdate.confd
77fb31a75511247bf4e3430565a276bc syslog.confd
0bb55dde32f5e119111fa4938daaef3d watchdog.confd
-2a315834c89b2a76c7732c588b1fc87a mdev.conf
+730c0b8160389be16aa24f6d4aa3b5b9 mdev.conf
ad1556961294e4aa2abca6be52138b7c dvbdev
5c8725b4cbdeda23b00f08124a0d20bf ide_links
daf57f3d0372f825ddc05b00973e5afe usbdev
@@ -94,7 +94,7 @@ f6cd63d6e5f384dcb01a4906c9a0b6c5923794380235dfe0d79b48a686b03c5d klogd.confd
791d49802395861a5f788dc7436c1260ec2cd3bdea0c790952ae1b2dd518e811 rdate.confd
8a2362d6b5b1ec1d754878726392119f2cc7416c748ee4f2ab134f731d6e6198 syslog.confd
77f6f9069afdbb477a7e822aa2c7265d64fd22fdd9338bb3beb0cee901d202ce watchdog.confd
-4daa59ca4a6e2f9ae62e86dfc10e7743d3c7a216c024148179e0c3d5b5df3c96 mdev.conf
+baac395945e3f6a4dfa103a2ebb29153466800948b9f27d3058393e3a5ad8290 mdev.conf
ef091bb4c8943a99b9a97b556cdc15ddd20275f5afa8287e201419b08c4e71de dvbdev
3fccc9ee437e3dcc8ac73bfe3713334a7156a112fe442e052fff4f26ff0f6a88 ide_links
dcb0c37590019bccb4c31a5372cbf7728eae6f1174d56bf0708d7504243a5fbb usbdev
@@ -119,7 +119,7 @@ b0ba67585f39d83320ed6de183d7463a0e163807b9f3dc6f0baa212236056f22aeb2c5399dfdcd54
3d6c4d358e226e0c0462f2003bcf0b6787f91a53f4d6b6db5bfe7748bb0dd392d7cc454058ea8a9b649e8dd2629963a5ad1257c36af04367caeb1923f954daf7 rdate.confd
330c6e6808dfdf05c75dcdec1048f17052f79b285e11513a64a97bf28fb60e023840966abe03a74fa146eb6b842c4e0e78df82918528e0b6e8f546f7f0a4e323 syslog.confd
359af0a4a1841dd6557eaf3e71d39f0d7a2687bad6a8fc6ef436eccf72a40f85c6400a3b7880c7f64d8e460b6af8a0ff3dd5ffc3a4b1aa8eb0d8f7eaf99ee3e4 watchdog.confd
-0e66ae7edd2e3f8d849cb334649b827b25ee5fe609c19bb36eb6cd5ab6ce738d36dd4272a53342bf4446d34a14ccea229134684274f76e5e7fe3124f2eedc095 mdev.conf
+6d7cbcc40ae018996d51345cf1ecc1b1d416801be717dd0278f1dc2f638478b8e4949ab82460aeb0d922b7c98b4dfcea82ae9e795863b56466b97268ba42d556 mdev.conf
ebd82f935da2ca89097234dd8a8f47e179a423652c151123a1f3343f3e1e7bfaba2b8800380e988d4e8f4294545d3a9ab6708ae2e77c5b108b5f091bbce8f94a dvbdev
0142234d0bda86ad1e5f88f1da34669e5fda46a0fd52ce507bd49ce74d2b7c12c323e8db863bccb924e6d632b568db8b243361b217c5b2e1d92a25feb6e62dec ide_links
b2dcf0ded9264334d79fbbb05dd12d649dc3119a060db5893f0e8aeca2141323961c3ba4c822a0ffb00dba848742d5cb374dc77e776b57cecde352a3e8e30f8a usbdev
diff --git a/main/busybox-initscripts/busybox-initscripts.post-install b/main/busybox-initscripts/busybox-initscripts.post-install
index 46bdf84caa..fab24cac62 100644
--- a/main/busybox-initscripts/busybox-initscripts.post-install
+++ b/main/busybox-initscripts/busybox-initscripts.post-install
@@ -1,6 +1,9 @@
#!/bin/sh
# this is for upgraders
+addgroup -S -g 23 input 2>/dev/null
+
+# this is for upgraders
if [ -L /etc/runlevels/boot/mdev ] && ! [ -L /etc/runlevels/sysinit/mdev ]; then
mkdir -p /etc/runlevels/sysinit
mv /etc/runlevels/boot/mdev /etc/runlevels/sysinit/ 2>/dev/null
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index 71b376e35f..8e3ed73f4c 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
@@ -82,10 +82,11 @@ psaux root:root 0660 >misc/
rtc root:root 0664 >misc/
# input stuff
-event[0-9]+ root:root 0640 =input/
-mice root:root 0640 =input/
-mouse[0-9] root:root 0640 =input/
-ts[0-9] root:root 0600 =input/
+event[0-9]+ root:input 0640 =input/
+mice root:input 0640 =input/
+mouse[0-9] root:input 0640 =input/
+js[0-9] root:input 0640 =input/
+ts[0-9] root:input 0600 =input/
# v4l stuff
vbi[0-9] root:video 0660 >v4l/