On Mon Jul 13, 2026 at 11:56 AM CEST, Lucas Stach wrote:
> Hi Mathieu,
>
> Am Sonntag, dem 05.07.2026 um 10:21 +0200 schrieb Mathieu Dubois-
> Briand:
>> On Thu Jul 2, 2026 at 8:20 PM CEST, Lucas Stach wrote:
>> > Some services, such as seatd, only implement the s6 init ready 
>> > notifications.
>> > readyfd2sd translates those notifications to the systemd-notify format, to
>> > make them usable with the systemd init system.
>> > 
>> > Signed-off-by: Lucas Stach <[email protected]>
>> > ---
>> 
>> Hi Lucas,
>> 
>> Thanks for your patch.
>> 
>> It looks like this is failing with non-systemd distro.
>> 
>> WARNING: Nothing PROVIDES 'systemd' (but 
>> /srv/pokybuild/yocto-worker/qemuarm64-armhost/build/layers/openembedded-core/meta/recipes-core/readyfd2sd/readyfd2sd_git.bb
>>  DEPENDS on or otherwise requires it)
>> systemd was skipped: using DISTRO 'poky', which is missing required 
>> DISTRO_FEATURES: 'systemd usrmerge'
>> 
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/8/builds/4108
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/4095
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/4133
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/4314
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/4097
>> 
>> Can eadyfd2sd be built without systemd?
>> 
> No, that doesn't make sense, as readyfd2sd is an adapter to a systemd
> API, so there is a hard dependency there. It's also only added as a
> dependency to seatd when systemd support is enabled.
>
> What's the correct way to avoid the build in the autobuild? Will a
> check for REQUIRED_DISTRO_FEATURES do the right thing?
>

I suspect following lines will indeed fix the issue:

inherit features_check
REQUIRED_DISTRO_FEATURES += "systemd"

You should be able to verity this locally by using "poky" distro.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240836): 
https://lists.openembedded.org/g/openembedded-core/message/240836
Mute This Topic: https://lists.openembedded.org/mt/120087766/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to