]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd: Don't enable systemd services when native.
authorRandy Witt <rewitt@lpdev.prtdev.lexmark.com>
Wed, 26 Jun 2013 17:33:16 +0000 (17:33 +0000)
committerSaul Wold <sgw@linux.intel.com>
Tue, 9 Jul 2013 14:56:09 +0000 (07:56 -0700)
It shouldn't be desired that systemd enable services when using
class native. Blanking out the SYSTEMD_PACKAGES when native seems
like the most straightforward way to fix this problem.

Signed-off-by: Randy Witt <rewitt@declaratino.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/systemd.bbclass

index 86d9a9a835f74ac9b6be64a1587fa9e92be9d550..0447e53db97e21660dca49edc8b0efb9a671e9a3 100644 (file)
@@ -2,6 +2,8 @@
 # each entry, optionally have a SYSTEMD_SERVICE_[package] that lists the service
 # files in this package.  If this variable isn't set, [package].service is used.
 SYSTEMD_PACKAGES ?= "${PN}"
+SYSTEMD_PACKAGES_class-native ?= ""
+SYSTEMD_PACKAGES_class-nativesdk ?= ""
 
 # Whether to enable or disable the services on installation.
 SYSTEMD_AUTO_ENABLE ??= "enable"