[OE-core] [OE-Core][PATCH] systemd: Add systemd package to PACKAGE var

Khem Raj raj.khem at gmail.com
Tue Feb 12 17:35:54 UTC 2013


On Tue, Feb 12, 2013 at 1:08 AM, Ross Burton <ross.burton at intel.com> wrote:
> On Tuesday, 12 February 2013 at 08:22, Khem Raj wrote:
>> If someone defines SYSTEMD_PACKAGES to be different
>> then ${PN} then we need to make sure that they get
>> added to PACKAGES variable
>
> The only case it won't already be in PACKAGES is if you're creating a package which contains just the service file, which as I've said before isn't recommended - package the service files along with the binaries that they are executing.
>
> Or is there another use-case I'm missing?


Thinking about it from different perspective, I agree that probably
adding an extra package is not right and having unitfiles as part of
package proper is fine. but we should definitely have a check where if
SYSTEMD_PACKAGES dont exist in PACKAGES then it should error out or
warn about it.

>
> Ross




More information about the Openembedded-core mailing list