Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/eudev: add sgx group for eudev-3.2.12
@ 2023-12-20 10:56 Kunihiko Hayashi
  2023-12-23 14:26 ` Thomas Petazzoni via buildroot
  2024-01-11 10:38 ` Yann E. MORIN
  0 siblings, 2 replies; 5+ messages in thread
From: Kunihiko Hayashi @ 2023-12-20 10:56 UTC (permalink / raw)
  To: buildroot; +Cc: Eric Le Bihan, Bernd Kuhls, Kunihiko Hayashi

The eudev has "sgx" group in 50-udev-default.rules as default
since commit 247724da450b.

The group is defined by package/systemd [1], however, when
enabling BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y with
qemu_aarch64_virt_defconfig, the systemd isn't used and the following
warning occurs:

    udevd[153]: specified group 'sgx' unknown

Just add sgx group to the package/eudev.

[1] https://lists.buildroot.org/pipermail/buildroot/2022-April/641079.html

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 package/eudev/eudev.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/eudev/eudev.mk b/package/eudev/eudev.mk
index 235a71967ef5..14e22ee50a1f 100644
--- a/package/eudev/eudev.mk
+++ b/package/eudev/eudev.mk
@@ -55,6 +55,10 @@ define EUDEV_INSTALL_INIT_OPENRC
 	@:
 endef
 
+define EUDEV_USERS
+	- - sgx -1 * - - - SGX device nodes
+endef
+
 HOST_EUDEV_DEPENDENCIES = host-gperf host-pkgconf
 
 HOST_EUDEV_CONF_OPTS = \
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-11 10:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20 10:56 [Buildroot] [PATCH 1/1] package/eudev: add sgx group for eudev-3.2.12 Kunihiko Hayashi
2023-12-23 14:26 ` Thomas Petazzoni via buildroot
2023-12-25  8:03   ` Kunihiko Hayashi
2024-01-11 10:38 ` Yann E. MORIN
2024-01-11 10:59   ` Kunihiko Hayashi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox