summaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
Diffstat (limited to 'meta-systemd')
-rw-r--r--meta-systemd/classes/systemd.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-systemd/classes/systemd.bbclass b/meta-systemd/classes/systemd.bbclass
index 96d7f8f55..d1f723613 100644
--- a/meta-systemd/classes/systemd.bbclass
+++ b/meta-systemd/classes/systemd.bbclass
@@ -68,9 +68,11 @@ def systemd_after_parse(d):
68 68
69 69
70 bpn = d.getVar('BPN', 1) 70 bpn = d.getVar('BPN', 1)
71 ml = d.getVar('MLPREFIX', 1)
71 if bpn + "-native" != d.getVar('PN', 1) and \ 72 if bpn + "-native" != d.getVar('PN', 1) and \
72 bpn + "-cross" != d.getVar('PN', 1) and \ 73 bpn + "-cross" != d.getVar('PN', 1) and \
73 bpn + "-nativesdk" != d.getVar('PN', 1): 74 ml + bpn != d.getVar('PN', 1) and \
75 "nativesdk-" + bpn != d.getVar('PN', 1):
74 systemd_check_vars() 76 systemd_check_vars()
75 for pkg_systemd in d.getVar('SYSTEMD_PACKAGES', 1).split(): 77 for pkg_systemd in d.getVar('SYSTEMD_PACKAGES', 1).split():
76 systemd_create_package(pkg_systemd) 78 systemd_create_package(pkg_systemd)