This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM69A: How to replace systemd with sysvinit?

Part Number: AM69A

Hi,

By setting ARAGO_SYSVINIT=1, there is a compilation error:

ERROR: Nothing RPROVIDES 'dbus-broker'...

Can you advise?

Thanks.

Walter

  • Hi,

    Thank you for reaching out. Due to Diwali holidays, our engineers are currently on vacation. We kindly request your patience, and we will get back to you with a response within 2 to 3 days.

    Best regards,

    Sudheer

  • I believe this will require rebuild of your entire embedded Linux distribution from scratch using Yocto. This process is not a simple package replacement, as many services and drivers on modern embedded systems have systemd dependencies

  • Yes, the error is from a clean build with the setting ARAGO_SYSVINIT=1.

  • The "ERROR: Nothing RPROVIDES 'dbus-broker'" during a clean Yocto build for AM69A with ARAGO_SYSVINIT=1 is a classic init system dependency conflict.

    • Systemd vs. SysVinit: The Arago layers for TI devices, like the AM69A, often default to using systemd as the init system. systemd uses the dbus-broker package as its modern D-Bus message bus implementation.

    By setting ARAGO_SYSVINIT=1, you are overriding the default and forcing the build to use the older SysVinit (and likely busybox for other components). Some other recipe still has a runtime dependency (RDEPENDS) on dbus-broker. Since dbus-broker is a dependency of systemd, it is not being included in your SysVinit build, causing the build to fail with a "Nothing RPROVIDES" error

    To fix this, I believe you  need to explicitly remove systemd and its dependencies from your build, and possibly force the use of the older dbus-daemon implementation which works with SysVinit.

    Morten