[yocto] enable/disable systemd from image.bb

Katu Txakur katutxakurra at gmail.com
Tue Mar 4 06:37:32 PST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140304/9a9ab643/attachment.html>


More information about the yocto mailing list