systemd.bbclass: remove unused code

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Andreas Müller 2012-06-01 09:20:24 +00:00 committed by Koen Kooi
parent 44b20b0267
commit 27e2e32869

View File

@ -54,11 +54,6 @@ def systemd_after_parse(d):
"\n\n%s: %s in SYSTEMD_PACKAGES does not match <existing-package>-systemd or ${PN} (deprecated)" % \
( bb_filename, pkg_systemd)
# check SYSTEMD_SERVICE
for pkg_systemd in systemd_pkgs.split():
service_pkg = 'SYSTEMD_SERVICE' + "_" + pkg_systemd
systemd_services = d.getVar(service_pkg, 1) or d.getVar('SYSTEMD_SERVICE', 1) or ""
# prepend systemd-packages not already included
def systemd_create_package(pkg_systemd):
packages = d.getVar('PACKAGES', 1)