summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRandy Witt <rewitt@lpdev.prtdev.lexmark.com>2013-06-26 17:33:16 +0000
committerSaul Wold <sgw@linux.intel.com>2013-07-09 07:56:09 -0700
commite0ce07010d2e818dc43ffdff6f3cdd94f18d7af5 (patch)
tree938c5f911f96c979c37af41b29690afe35b89552 /meta
parentccbce75335971abf5098a492755e92ca60cf67bd (diff)
downloadopenembedded-core-e0ce07010d2e818dc43ffdff6f3cdd94f18d7af5.tar.gz
openembedded-core-e0ce07010d2e818dc43ffdff6f3cdd94f18d7af5.tar.bz2
openembedded-core-e0ce07010d2e818dc43ffdff6f3cdd94f18d7af5.zip
systemd: Don't enable systemd services when native.
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/systemd.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 86d9a9a835..0447e53db9 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -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"