From: Carlos Santos Date: Wed, 30 Oct 2019 13:27:59 +0000 (-0300) Subject: packages/{eudev, systemd}: move common users to package/udev X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d648d81dd581093eab1735e5d35b8e33e659ac5c;p=buildroot.git 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 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/eudev/eudev.mk b/package/eudev/eudev.mk index 9cf4361956..d4133a5ace 100644 --- a/package/eudev/eudev.mk +++ b/package/eudev/eudev.mk @@ -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) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index e0e1dd1a3f..41f1824d11 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -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) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index cc4a6e3a26..05b35b21f0 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -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))