systemd.bbclass: helper class for recipes with systemd units
authorRoss Burton <ross.burton@intel.com>
Fri, 8 Feb 2013 22:43:15 +0000 (22:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 14:46:10 +0000 (14:46 +0000)
commit2ca766c8f7c794a6b3c932400cdf87dc16f1bb31
treeb2f458270b5f3e60d92777ccd8717b4303ed5d9f
parent8cee7cfdab8484815f1d6fd113736c11c65d2fa4
systemd.bbclass: helper class for recipes with systemd units

This class adds postinst/prerm scripts to start/stop/enable/disable the services
as relevant, and some magic to ensure the service files are installed.

Based on (but not the same as) the systemd.bbclass in meta-systemd, so thanks to
the following for their work there:

Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Khem Raj <raj.khem@gmail.com>
Martin Jansa <Martin.Jansa@gmail.com>
Andreas Müller <schnitzeltony@googlemail.com>
Koen Kooi <koen@dominion.thruhere.net>

(From OE-Core rev: f4bf51612f8be1d3dd340fc456f3fa08fcfa34ef)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/systemd.bbclass [new file with mode: 0644]