]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
eudev: create static-nodes in init script
authorChangqing Li <changqing.li@windriver.com>
Fri, 20 May 2022 11:05:09 +0000 (19:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 May 2022 07:37:23 +0000 (08:37 +0100)
commit10940ee60864500f037a73d8bde8d74f9917959c
tree3e1bba3c8edd421aa6a6ad3d14f9756cab3e3581
parent601294b35c83faa134e26844c65db59b42d5052f
eudev: create static-nodes in init script

dev in modules.devname should be populated in /dev on boot.  remove
create static mode from udevd will make these devices cannot be
populated. Since commit [1], when use sysVinit, devices like
/dev/net/tun will not be created.

more info:
udevd in systemd also remove create static mode in udevd, but using
service kmod-static-nodes.service and systemd-tmpfiles-setup-dev.service
in systemd to create these node, so systemd works well.

For sysV, parse kmod static-nodes and generate the device nodes in init

[1] https://gitweb.gentoo.org/proj/eudev.git/commit/?id=2b7abd5ec9cc47a8b895df6db77fb1537c6f1a39

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/eudev/init
meta/recipes-core/udev/eudev_3.2.11.bb