[OE-core] [PATCH 1/2] systemd: Don't enable systemd services when native.

Randy Witt rewitt at declaratino.com
Wed Jun 26 17:33:16 UTC 2013


From: Randy Witt <rewitt at lpdev.prtdev.lexmark.com>

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 at declaratino.com>
---
 meta/classes/systemd.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 86d9a9a..0447e53 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"
-- 
1.8.1.4




More information about the Openembedded-core mailing list