I think core-image-swupdate.bb is adding sysvinit explicitly, please
remove it from that.

On Wed, Feb 9, 2022 at 6:54 AM Sourabh Hegde <[email protected]> wrote:
>
> Hello All,
>
> While bitbaking an image recipe with systemd configured in "local.conf", I am 
> facing an error while doing do_rootfs task.
>
> In the local.conf :
>
> DISTRO_FEATURES_append = " systemd"
> #DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
> VIRTUAL-RUNTIME_init_manager = "systemd"
> VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
>
> Bitbake error:
> .
> .
> Transaction check succeeded.
> Running transaction test
> Error: Transaction check error:
>   file /sbin/telinit conflicts between attempted installs of 
> sysvinit-2.96-r0.cortexa7t2hf_neon_vfpv4 and 
> systemd-1:244.5-r0.cortexa7t2hf_neon_vfpv4
>
> I was not facing this error before without systemd.
>
> Can anyone please let me know how to resolve this error and what does this 
> error mean?
>
> Your help will be much appreciated.
>
> Thanks in advance
>
> P.S: If I uncomment DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" in 
> local.conf I get below error:
>
> ERROR: Nothing RPROVIDES 'sysvinit' (but [...]/core-image-swupdate.bb 
> RDEPENDS on or otherwise requires it)
> sysvinit was skipped: missing required distro feature 'sysvinit' (not in 
> DISTRO_FEATURES)
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56126): https://lists.yoctoproject.org/g/yocto/message/56126
Mute This Topic: https://lists.yoctoproject.org/mt/89022709/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to