diff options
author | Randy Witt <rewitt@lpdev.prtdev.lexmark.com> | 2013-06-26 17:33:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:41:51 +0100 |
commit | ce1638c50dc44c69717c67049dcc76a1cb5b7e75 (patch) | |
tree | 35a73a89caee81eea2f45c72ce22a0e35938541c | |
parent | 4285e856aa073979bf046168a75188ccf5a1e7d4 (diff) | |
download | poky-ce1638c50dc44c69717c67049dcc76a1cb5b7e75.tar.gz |
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.
(From OE-Core rev: e0ce07010d2e818dc43ffdff6f3cdd94f18d7af5)
Signed-off-by: Randy Witt <rewitt@declaratino.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/systemd.bbclass | 2 |
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 @@ | |||
2 | # each entry, optionally have a SYSTEMD_SERVICE_[package] that lists the service | 2 | # each entry, optionally have a SYSTEMD_SERVICE_[package] that lists the service |
3 | # files in this package. If this variable isn't set, [package].service is used. | 3 | # files in this package. If this variable isn't set, [package].service is used. |
4 | SYSTEMD_PACKAGES ?= "${PN}" | 4 | SYSTEMD_PACKAGES ?= "${PN}" |
5 | SYSTEMD_PACKAGES_class-native ?= "" | ||
6 | SYSTEMD_PACKAGES_class-nativesdk ?= "" | ||
5 | 7 | ||
6 | # Whether to enable or disable the services on installation. | 8 | # Whether to enable or disable the services on installation. |
7 | SYSTEMD_AUTO_ENABLE ??= "enable" | 9 | SYSTEMD_AUTO_ENABLE ??= "enable" |