init-manager-systemd.inc: update KERNEL_FEATURES
PATCH 1/1 init-manager-systemd.inc: update KERNEL_FEATURES
From: Kai Kang <[email protected]>
Append cfg/systemd.scc to init-manager-systemd.inc which enables kernel config CONFIG_FHANDLE. The config is required by systemd >= 209 [1]:
you have to enable CONFIG_FHANDLE in your kernel to use systemd >= 209 successfully, otherwise udev won't find any devices.
[1]: https://lists.freedesktop.org/archives/systemd-devel/2014-February/017362.html
--- meta/conf/distro/include/init-manager-systemd.inc | 1 + 1 file changed, 1 insertion(+)
meta/conf/distro/include/init-manager-systemd.inc +1 -0
@@ -5,3 +5,4 @@ VIRTUAL-RUNTIME_init_manager ??= "systemd" VIRTUAL-RUNTIME_initscripts ??= "systemd-compat-units" VIRTUAL-RUNTIME_login_manager ??= "shadow-base" VIRTUAL-RUNTIME_dev_manager ??= "systemd" +KERNEL_FEATURES:append = " cfg/systemd.scc"
Signature · 1 line
2.34.1
Quoted 21 lines · Kai Kang
From: Kai Kang <[email protected]>
Append cfg/systemd.scc to init-manager-systemd.inc which enables kernel config
CONFIG_FHANDLE. The config is required by systemd >= 209 [1]:you have to enable
CONFIG_FHANDLEin your kernel to use systemd >= 209 successfully, otherwise udev won't find any devices.[1]: https://lists.freedesktop.org/archives/systemd-devel/2014-February/017362.html
Signed-off-by Kai Kang <[email protected]>--- meta/conf/distro/include/init-manager-systemd.inc | 1 + 1 file changed, 1 insertion(+)meta/conf/distro/include/init-manager-systemd.inc +0
-0
meta/conf/distro/include/init-manager-systemd.inc VIRTUAL-RUNTIME_init_manager ??= "systemd" · line 8
Quoted 4 lines
meta/conf/distro/include/init-manager-systemd.inc +1
-0@@ -5,3 +5,4 @@ VIRTUAL-RUNTIME_init_manager ??= "systemd" VIRTUAL-RUNTIME_initscripts ??= "systemd-compat-units" VIRTUAL-RUNTIME_login_manager ??= "shadow-base" VIRTUAL-RUNTIME_dev_manager ??= "systemd" +KERNEL_FEATURES:append = " cfg/systemd.scc"
Can this be always enabled ? udev is used with sysvinit too.
Quoted 10 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186650): https://lists.openembedded.org/g/openembedded-core/message/186650
Mute This Topic: https://lists.openembedded.org/mt/100932054/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 16 lines · Khem Raj
Quoted 15 lines · Kai Kang
From: Kai Kang <[email protected]>
Append cfg/systemd.scc to init-manager-systemd.inc which enables kernel config
CONFIG_FHANDLE. The config is required by systemd >= 209 [1]:you have to enable
CONFIG_FHANDLEin your kernel to use systemd >= 209 successfully, otherwise udev won't find any devices.[1]: https://lists.freedesktop.org/archives/systemd-devel/2014-February/017362.html
Signed-off-by Kai Kang <[email protected]>---
meta/conf/distro/include/init-manager-systemd.inc | 1 +1 file changed, 1 insertion(+)
Quoted 12 lines
Quoted 10 lines
meta/conf/distro/include/init-manager-systemd.inc +0
-0@@ -5,3 +5,4 @@ VIRTUAL-RUNTIME_init_manager ??= "systemd"VIRTUAL-RUNTIME_initscripts ??= "systemd-compat-units" VIRTUAL-RUNTIME_login_manager ??= "shadow-base" VIRTUAL-RUNTIME_dev_manager ??= "systemd" +KERNEL_FEATURES:append = " cfg/systemd.scc"
Can this be always enabled ? udev is used with sysvinit too.
Just found it had been enabled by default
commit 3a55d8b019770d78598c3121a6f3479383ef77f2
Author: Bruce Ashfield <[email protected]> Date: Fri Feb 14 13:36:54 2014 -0500
meta: enable CONFIG_FHANDLE for standard and preempt-rt kernels
CONFIG_FHANDLE is now a requirement for systemd support:
So we add it into our default standard and preempt-rt kernel types, the overhead is small and having this always configured allows init system switching, without a kernel rebuild.
ktypes/standard/standard.scc +0 -0
@@ -91,4 +91,6 @@ include cfg/net/ip_nf.scc
include cfg/net/ip6_nf.scc
include cfg/net/bridge.scc
+include cfg/systemd.scc
+
include features/rfkill/rfkill.scc
Plz ignore it and sorry for inconvenience.
Regards,
Kai
Quoted 10 lines
Quoted 10 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186650): https://lists.openembedded.org/g/openembedded-core/message/186650
Mute This Topic: https://lists.openembedded.org/mt/100932054/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Kai Kang Wind River Linux