systemd.bbclass: remove unused code

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
This commit is contained in:
Andreas Müller
2012-08-28 06:25:45 +00:00
committed by Eric Bénard
parent 7d2a48a8e0
commit 8374a0caf3
-5
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)