On 02.03.23 at 12:07, Ross Burton wrote:
On 1 Mar 2023, at 13:45, Sethu Madhav via lists.yoctoproject.org
<[email protected]> wrote:
Hi,
When i try to add systemd using the below config in local.conf
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
Iam getting transaction error .
How to resolve this issue?.
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
file /sbin/telinit conflicts between attempted installs of
systemd-1:244.5-r0.cortexa8hf_neon and sysvinit-2.96-r0.cortexa8hf_neon
So something in your image is causing it to install both systemd and sysvinit.
You’re not disabling sysv, so one of your recipes might be pulling in both.
Try removing the lines you added and instead set INIT_MANAGER = “systemd”.
This does a more comprehensive switch to systemd than the two lines you are
using.
And the manual is being updated precisely on this point.
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59334): https://lists.yoctoproject.org/g/yocto/message/59334
Mute This Topic: https://lists.yoctoproject.org/mt/97314891/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-