Skip to content
Commit b52a74b7 authored by Andreas Müller's avatar Andreas Müller Committed by Koen Kooi
Browse files

systemd.bbclass: extract SYSTEMD_SERVICE properly

To set service files the following syntax is allowed:

SYSTEMD_SERVICE = <service_file>
or
SYSTEMD_SERVICE_{<systemd_package_name>} = <service_file>

A function get_package_var was introduced to handle all use-cases [1]
properly.

Build tested / buildhistory checks

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-May/039870.html



Signed-off-by: default avatarAndreas Müller <schnitzeltony@googlemail.com>
Acked-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: default avatarKoen Kooi <koen@dominion.thruhere.net>
parent 27e2e328
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment