mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
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:
committed by
Eric Bénard
parent
7d2a48a8e0
commit
8374a0caf3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user