From: Randy Witt Date: Wed, 26 Jun 2013 17:33:16 +0000 (+0000) Subject: systemd: Don't enable systemd services when native. X-Git-Tag: 2015-4~5930 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e0ce07010d2e818dc43ffdff6f3cdd94f18d7af5;p=openembedded-core.git 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 Signed-off-by: Saul Wold --- 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"