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.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59333): https://lists.yoctoproject.org/g/yocto/message/59333
Mute This Topic: https://lists.yoctoproject.org/mt/97314891/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to