[Buildroot] [PATCH 1/1] package/eudev: add sgx group for eudev-3.2.12
Kunihiko Hayashi
hayashi.kunihiko at socionext.com
Wed Dec 20 10:56:23 UTC 2023
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 at 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
More information about the buildroot
mailing list