Skip to contentSkip to conversation

package/udev: move back sgx group from systemd

PATCH In review Peter Korsgaard 1 participant 2 messages Jan 11, 2024 – Jan 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/udev: move back sgx group from systemd

Commit 6d163e12a4784580 (package/udev: move render and sgx to package/systemd) moved the sgx group creation to the systemd package because eudev at that time did not reference it. This changed in eudev 3.1.12 with commit a8ffcd1b985fb4 (rules/50-udev-default.rules: fix issue 160) so move it back to get rid of a warning from udevd:

udevd[303]: specified group 'sgx' unknown

---
 package/systemd/systemd.mk | 1 -
 package/udev/udev.mk       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
package/systemd/systemd.mk +0 -1
index 4746bda904..d371233cfe 100644
@@ -639,7 +639,6 @@ 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)
package/udev/udev.mk +1 -0
index d70d13ebb3..21c1a71f5a 100644
@@ -8,6 +8,7 @@
 define UDEV_USERS
 	- - input -1 * - - - Input device group
 	- - kvm -1 * - - - kvm nodes
+	- - sgx -1 * - - - SGX device nodes
 endef
 
 $(eval $(virtual-package))
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Commit 6d163e12a4784580 (package/udev: move render and sgx to package/systemd) moved the sgx group creation to the systemd package because eudev at that time did not reference it. This changed in eudev 3.1.12 with commit a8ffcd1b985fb4 (rules/50-udev-default.rules: fix issue 160) so move it back to get rid of a warning from udevd:

udevd[303]: specified group 'sgx' unknown

Committed to 2023.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot