From 6d163e12a47845804f7f979ddc55402e54ae88b3 Mon Sep 17 00:00:00 2001 From: TIAN Yuanhao Date: Thu, 28 Apr 2022 04:39:29 -0700 Subject: [PATCH] package/udev: move render and sgx to package/systemd Moved groups render and sgx from UDEV_USERS to SYSTEMD_USERS as they currently only appear in systemd's udev rules. In systemd, group render was introduced since commit 4e15a73, and group sgx was introduced since commit c9c4899. In eudev, group render was introduced since commit bb070c1, but was removed since commit a8ffcd1 [1]. [1]: https://github.com/eudev-project/eudev/issues/160 Signed-off-by: TIAN Yuanhao Cc: Arnout Vandecappelle (Essensium/Mind) Cc: Carlos Santos Cc: Yann E. MORIN Signed-off-by: Yann E. MORIN --- package/systemd/systemd.mk | 2 ++ package/udev/udev.mk | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 58a1376b51..7a711319cf 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -603,6 +603,8 @@ endef define SYSTEMD_USERS # udev user groups + - - render -1 * - - - DRI rendering nodes + - - sgx -1 * - - - SGX device nodes # systemd user groups - - systemd-journal -1 * - - - Journal $(SYSTEMD_REMOTE_USER) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index ce93d98431..d70d13ebb3 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -4,12 +4,10 @@ # ################################################################################ -# Required by default rules for input devices +# Required by default rules define UDEV_USERS - - input -1 * - - - Input device group - - - render -1 * - - - DRI rendering nodes - - kvm -1 * - - - kvm nodes - - - sgx -1 * - - - SGX device nodes endef $(eval $(virtual-package))