diff options
author | Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> | 2015-05-11 22:51:35 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 11:41:13 +0100 |
commit | 8acee5a86efd146186e0de1c41d0e4e4223d8b36 (patch) | |
tree | 9dd5848a7409ffd9d40648e47e7b5a5108d04a84 /meta/classes/systemd.bbclass | |
parent | 5492fb3b0d0ec4673c7d1d1c74c9500d20a9ac43 (diff) | |
download | openembedded-core-8acee5a86efd146186e0de1c41d0e4e4223d8b36.tar.gz openembedded-core-8acee5a86efd146186e0de1c41d0e4e4223d8b36.tar.bz2 openembedded-core-8acee5a86efd146186e0de1c41d0e4e4223d8b36.zip |
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/classes/systemd.bbclass')
-rw-r--r-- | meta/classes/systemd.bbclass | 3 |
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() { 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[] |