packages/{eudev, systemd}: move common users to package/udev

Use UDEV_USERS, now that it's suported by virtual packages.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Carlos Santos 2019-10-30 10:27:59 -03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 9a3530c008
commit d648d81dd5
3 changed files with 7 additions and 10 deletions

View File

@ -55,13 +55,6 @@ define EUDEV_INSTALL_INIT_OPENRC
@:
endef
# Required by default rules for input devices
define EUDEV_USERS
- - input -1 * - - - Input device group
- - render -1 * - - - DRI rendering nodes
- - kvm -1 * - - - kvm nodes
endef
HOST_EUDEV_DEPENDENCIES = host-gperf host-pkgconf
HOST_EUDEV_SYSCONFDIR = $(if $(BR2_PACKAGE_SYSTEMD),/usr/lib,/etc)

View File

@ -523,9 +523,6 @@ endef
define SYSTEMD_USERS
# udev user groups
- - input -1 * - - - Input device group
- - render -1 * - - - DRI rendering nodes
- - kvm -1 * - - - kvm nodes
# systemd user groups
- - systemd-journal -1 * - - - Journal
$(SYSTEMD_REMOTE_USER)

View File

@ -4,4 +4,11 @@
#
################################################################################
# Required by default rules for input devices
define UDEV_USERS
- - input -1 * - - - Input device group
- - render -1 * - - - DRI rendering nodes
- - kvm -1 * - - - kvm nodes
endef
$(eval $(virtual-package))