packages/{eudev, systemd}: move common users to package/udev
authorCarlos Santos <unixmania@gmail.com>
Wed, 30 Oct 2019 13:27:59 +0000 (10:27 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 30 Aug 2020 16:07:33 +0000 (18:07 +0200)
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>
package/eudev/eudev.mk
package/systemd/systemd.mk
package/udev/udev.mk

index 9cf436195649fd56bd2aa6cf4103a682b986d592..d4133a5acefee0936b5f622f84cbedae3848edc6 100644 (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)
index e0e1dd1a3faed1e723a7bcd6497d7a4050a4f43f..41f1824d119d8da26bc06f807fd4b8d6c663e25f 100644 (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)
index cc4a6e3a2639984a6e6bf2a866a8c923604e3c2a..05b35b21f0ba566d893fba72746796fbdc7cec81 100644 (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))