Sorry, I sent it uncompleted by mistake.

I've also tried

ROOTFS_POSTPROCESS_COMMAND =+ "\
    rm -rf /etc/systemd/system/multi-user.target.wants/recipeA.service; \
"

but it didn't work either. Anyone knows how to do this?

Thanks,
Katu


2014-03-04 14:37 GMT+00:00 Katu Txakur <[email protected]>:

> Hi,
>
> I'm using Yocto 1.3 and I've created some recipes. All of them have
> systemd services. Some of them start at boot time and others don't. Let's
> say for example:
> recipeA_1.0.bb > SYSTEMD_AUTO_ENABLE_${PN}-systemd = "enable"
> recipeB_1.0.bb > SYSTEMD_AUTO_ENABLE_${PN}-systemd = "disable"
>
> I want to create two image.bb files. One of them will start A and the
> other one will start B. I've tried adding
>
> imageB.bb
> .....
> SYSTEMD_AUTO_ENABLE_recipeA-systemd = "disable"
> SYSTEMD_AUTO_ENABLE_recipeB-systemd = "enable"
> .....
>
> I've also tried
>
>
>
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to