using SYSTEMD_SERVICE to disable a systemd service?


Robert P. J. Day
 

while the "standard" way to disable a systemd service from
auto-booting is SYSTEMD_AUTO_ENABLE, i just ran across a number of
examples in an existing project that do this:

SYSTEMD_SERVICE_${PN} = ""

ouch. that's a new one on me and, while i'm prepared to believe it
works, it seems like grotesque overkill and mis-application of that
variable.

am i within my rights to suggest that that's not really the way to
do it? or is that considered an acceptable (albeit weird) alternative?

rday

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.