aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry_eremin@mentor.com>2015-05-11 22:51:35 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-14 11:41:13 +0100
commit8acee5a86efd146186e0de1c41d0e4e4223d8b36 (patch)
tree9dd5848a7409ffd9d40648e47e7b5a5108d04a84 /meta
parent5492fb3b0d0ec4673c7d1d1c74c9500d20a9ac43 (diff)
downloadopenembedded-core-contrib-8acee5a86efd146186e0de1c41d0e4e4223d8b36.tar.gz
systemd.bbclass: drop has_exactly_one_service setting
The has_exactly_one_service variable was used in now deleted code. Drop this part to make code cleaner. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/systemd.bbclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index c34884bd383..cfe1eb56d50 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -139,9 +139,6 @@ python systemd_populate_packages() {
searchpaths.append(oe.path.join(d.getVar("nonarch_base_libdir", True), "systemd", "system"))
searchpaths.append(oe.path.join(d.getVar("exec_prefix", True), d.getVar("nonarch_base_libdir", True), "systemd", "system"))
systemd_packages = d.getVar('SYSTEMD_PACKAGES', True)
- has_exactly_one_service = len(systemd_packages.split()) == 1
- if has_exactly_one_service:
- has_exactly_one_service = len(get_package_var(d, 'SYSTEMD_SERVICE', systemd_packages).split()) == 1
keys = 'Also'
# scan for all in SYSTEMD_SERVICE[]