[OE-core] [PATCH] systemd.bbclass: drop has_exactly_one_service setting
Dmitry Eremin-Solenikov
dmitry_eremin at mentor.com
Mon May 11 19:51:35 UTC 2015
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 at mentor.com>
---
meta/classes/systemd.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index c34884b..cfe1eb5 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[]
--
2.1.4
More information about the Openembedded-core
mailing list