Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Randy Witt <rewitt@declaratino.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] systemd: Don't enable systemd services when native.
Date: Wed, 26 Jun 2013 13:33:16 -0400	[thread overview]
Message-ID: <1372267997-9077-2-git-send-email-rewitt@declaratino.com> (raw)
In-Reply-To: <1372267997-9077-1-git-send-email-rewitt@declaratino.com>

From: Randy Witt <rewitt@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@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



  reply	other threads:[~2013-06-26 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 17:33 [PATCH 0/2] Make systemd.bbclass work without SYSTEMD_AUTO_ENABLE Randy Witt
2013-06-26 17:33 ` Randy Witt [this message]
2013-06-26 17:33 ` [PATCH 2/2] systemd: Move functions that only affect metadata to parse time Randy Witt
2013-07-04 10:14   ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1372267997-9077-2-git-send-email-rewitt@declaratino.com \
    --to=rewitt@declaratino.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox