diff options
author | Changqing Li <changqing.li@windriver.com> | 2022-05-20 19:05:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-21 08:37:30 +0100 |
commit | 35e9ce18f57acf31cc49f0dddbb3346cf643f028 (patch) | |
tree | e5696e1ff137323ef5832bc95442a68df8e3a7e3 /scripts/contrib/patchreview.py | |
parent | d14c6c45fc918a58a66129e00b681f8e3a4123e3 (diff) | |
download | poky-35e9ce18f57acf31cc49f0dddbb3346cf643f028.tar.gz |
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
(From OE-Core rev: 10940ee60864500f037a73d8bde8d74f9917959c)
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>
Diffstat (limited to 'scripts/contrib/patchreview.py')
0 files changed, 0 insertions, 0 deletions