procd/hotplug: add dependency to dialout and audio group
authorMartin Schiller <ms@dev.tdt.de>
Thu, 11 Apr 2019 07:54:37 +0000 (09:54 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 16 Apr 2019 20:51:29 +0000 (22:51 +0200)
commite79b9601bf52a9a0ce459d6eb220989c06d9e87b
treee641a4f09f1c5355b67fb627bfa85b352a2f5932
parent3e803499c3661e4df3639dd797b46cf0719753c3
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>
package/system/procd/Makefile