aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2019-04-11 09:54:37 +0200
committerPetr Štetiar <ynezz@true.cz>2019-04-16 22:51:29 +0200
commite79b9601bf52a9a0ce459d6eb220989c06d9e87b (patch)
treee641a4f09f1c5355b67fb627bfa85b352a2f5932 /package/system
parent3e803499c3661e4df3639dd797b46cf0719753c3 (diff)
downloadupstream-e79b9601bf52a9a0ce459d6eb220989c06d9e87b.tar.gz
upstream-e79b9601bf52a9a0ce459d6eb220989c06d9e87b.tar.bz2
upstream-e79b9601bf52a9a0ce459d6eb220989c06d9e87b.zip
procd/hotplug: add dependency to dialout and audio group
Commit 6e060bd62c85 introduced a dependency to the dialout group. Adding this group to the "group" file in the base-files package is not enough to handle this dependency, because after a sysupgrade this entry will be missing in the "group" file. To address this problem the dependencies to the required groups needs to be set in the Makefile of the procd package. Then, the uci-default script "13_fix_group_user" will add the groups on first boot-up after a sysupgrade. Fixes: 6e060bd62c85 ("base-files/hotplug: fix dedicated group for tty devices") Tested-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'package/system')
-rw-r--r--package/system/procd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
index c5010ec1e5..84d9e2fa34 100644
--- a/package/system/procd/Makefile
+++ b/package/system/procd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=procd
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git
@@ -45,6 +45,7 @@ define Package/procd
CATEGORY:=Base system
DEPENDS:=+ubusd +ubus +libjson-script +ubox +USE_GLIBC:librt +libubox +libubus
TITLE:=OpenWrt system process manager
+ USERID:=:dialout=20 :audio=29
endef
define Package/procd-ujail