Commit Graph

5 Commits

Author SHA1 Message Date
Andreas Müller 6143fd76a1 systemd.bbclass: introduce systemd_unitdir
Follow suggestion in [1]

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

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:30 +01:00
Otavio Salvador b67977efbe Revert "systemd.bbclass: depends on systemd"
This reverts commit c029d4a268.
2012-02-20 22:22:02 +01:00
Otavio Salvador c029d4a268 systemd.bbclass: depends on systemd
Packages that uses the systemd class need to have systemd build
otherwise they might fail to detect systemd as available or fail to
generate rootfs.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-01 08:24:07 +01:00
Otavio Salvador 051102329c systemd.bbclass: stop using SYSTEMDPN to rdepends addition
The systemd runtime dependency needs to be add dynamically onto each
package that has the postinst generate thus removing the SYSTEMDPN use
et all.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-08 14:07:51 +01:00
Otavio Salvador 39ce6e1fbb systemd.bbclass: make easier handle service enabling
This generates the postinst/prerm/postrm routines for the package
specified in SYSTEMD_PACKAGES avoding code duplication and
centralizing the handling of it for easy maintainence work.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 19:41:19 +01:00