systemd.bbclass: Dont check for multilib and change for nativesdk renaming

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Khem Raj 2012-10-09 06:44:06 +00:00 committed by Koen Kooi
parent ab3ced404f
commit cbac8756e8

View File

@ -68,9 +68,11 @@ def systemd_after_parse(d):
bpn = d.getVar('BPN', 1)
ml = d.getVar('MLPREFIX', 1)
if bpn + "-native" != d.getVar('PN', 1) and \
bpn + "-cross" != d.getVar('PN', 1) and \
bpn + "-nativesdk" != d.getVar('PN', 1):
ml + bpn != d.getVar('PN', 1) and \
"nativesdk-" + bpn != d.getVar('PN', 1):
systemd_check_vars()
for pkg_systemd in d.getVar('SYSTEMD_PACKAGES', 1).split():
systemd_create_package(pkg_systemd)