From: Chen Qi <[email protected]> Add three extra configuration options to make our systemd stop supporting sysvinit. Without these three options, we'll have in config.h:
build/config.h:#define HAVE_SYSV_RC_LOCAL 1 build/config.h:#define HAVE_SYSV_COMPAT 1 The HAVE_SYSV_RC_LOCAL makes /etc/rc.local work as the rc-local.service is still installed. And the HAVE_SYSV_COMPAT means /etc/rcX.d is still supported. With this fix, we have: build/config.h:#define HAVE_SYSV_RC_LOCAL 0 build/config.h:#define HAVE_SYSV_COMPAT 0 Note that these three options need to be dropped when systemd is upgraded to v260. Signed-off-by: Chen Qi <[email protected]> --- meta/recipes-core/systemd/systemd_259.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_259.3.bb b/meta/recipes-core/systemd/systemd_259.3.bb index bcb8fe3d9c..6bc71c923f 100644 --- a/meta/recipes-core/systemd/systemd_259.3.bb +++ b/meta/recipes-core/systemd/systemd_259.3.bb @@ -222,6 +222,9 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \ -Ddbus=disabled \ -Dtests=false \ -Dlibc=${TCLIBC} \ + -Drc-local='' \ + -Dsysvinit-path='' \ + -Dsysvrcnd-path='' \ " # Hardcode target binary paths to avoid using paths from sysroot or worse -- 2.49.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233296): https://lists.openembedded.org/g/openembedded-core/message/233296 Mute This Topic: https://lists.openembedded.org/mt/118360088/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
