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>
This commit is contained in:
Dmitry Eremin-Solenikov 2015-05-11 22:51:35 +03:00 committed by Richard Purdie
parent 3fb15327eb
commit 0bc3a79f28
1 changed files with 0 additions and 3 deletions

View File

@ -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[]