All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing specific systemd service file according to selected distro
@ 2022-01-14  5:54 Davis Roman
  2022-01-14  8:19 ` [yocto] " Konrad Weihmann
  0 siblings, 1 reply; 2+ messages in thread
From: Davis Roman @ 2022-01-14  5:54 UTC (permalink / raw)
  To: yocto; +Cc: song li

Hello,

I have a recipe that contains two service files( A and B) and I build
for two distros where each include the foo recipe.

When I build for distro A, I need to use foo's service file A but when
I build distro B, I need to use foo's service file B.

I could add some logic in the foo recipe to detect the DISTRO and
install the proper service file but I have a feeling this isn't the
yocto way.

Is there a better way of handling this use case?

Thank you,

Davis


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-14  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14  5:54 Installing specific systemd service file according to selected distro Davis Roman
2022-01-14  8:19 ` [yocto] " Konrad Weihmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.