summaryrefslogtreecommitdiffstats
path: root/meta/classes/systemd.bbclass
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:44:00 +0100
commit0bc3a79f2873d60c73fc87c97b59c35808a207c4 (patch)
tree62a8f828eab6d7214061d139c28294b7d81b09cd /meta/classes/systemd.bbclass
parent3fb15327eba64f833cbe49bbee2f3d2420cd8724 (diff)
downloadpoky-0bc3a79f2873d60c73fc87c97b59c35808a207c4.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. (From OE-Core rev: 8acee5a86efd146186e0de1c41d0e4e4223d8b36) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/systemd.bbclass')
-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 c34884bd38..cfe1eb56d5 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -139,9 +139,6 @@ python systemd_populate_packages() {
139 searchpaths.append(oe.path.join(d.getVar("nonarch_base_libdir", True), "systemd", "system")) 139 searchpaths.append(oe.path.join(d.getVar("nonarch_base_libdir", True), "systemd", "system"))
140 searchpaths.append(oe.path.join(d.getVar("exec_prefix", True), d.getVar("nonarch_base_libdir", True), "systemd", "system")) 140 searchpaths.append(oe.path.join(d.getVar("exec_prefix", True), d.getVar("nonarch_base_libdir", True), "systemd", "system"))
141 systemd_packages = d.getVar('SYSTEMD_PACKAGES', True) 141 systemd_packages = d.getVar('SYSTEMD_PACKAGES', True)
142 has_exactly_one_service = len(systemd_packages.split()) == 1
143 if has_exactly_one_service:
144 has_exactly_one_service = len(get_package_var(d, 'SYSTEMD_SERVICE', systemd_packages).split()) == 1
145 142
146 keys = 'Also' 143 keys = 'Also'
147 # scan for all in SYSTEMD_SERVICE[] 144 # scan for all in SYSTEMD_SERVICE[]