[oe] [meta-oe 6/7] systemd.bbclass: automatically extend FILES_* for systemd packages

Otavio Salvador otavio at ossystems.com.br
Sat Feb 11 13:12:50 UTC 2012


On Sat, Feb 11, 2012 at 00:00, Andreas Müller
<schnitzeltony at googlemail.com>wrote:

> In case SYSTEMD_SERVICE contains only one *.service file, the whole folder
> ${base_libdir}/systemd/system/ is added to FILES_* otherwise only the
> *.service
> files found in SYSTEMD_SERVICE.
>

It seems you'll need to parse the service file and check if it installs
others. For example .socket files usually do that. And then you'll never
add the whole dir automatically but dependently of the services it needs to
install.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the Openembedded-devel mailing list