aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorHerve Jourdain <herve.jourdain@neuf.fr>2016-03-07 16:59:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-09 16:58:12 +0000
commite186d6d1b89485bd9c833f9f9c8f2c2ea1082b49 (patch)
treecafa7ce53fd3a86712d5c8af7cb80cc6389eb39a /meta/recipes-core
parentb051a953fc249785cf1f1852a7791e59dee1707c (diff)
downloadopenembedded-core-contrib-e186d6d1b89485bd9c833f9f9c8f2c2ea1082b49.tar.gz
systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled
(From OE-Core rev: aa8856d39e149854e43bd0a6cd28a277288a8fc0) Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd_229.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_229.bb b/meta/recipes-core/systemd/systemd_229.bb
index 16af0acc3b..cd483609c1 100644
--- a/meta/recipes-core/systemd/systemd_229.bb
+++ b/meta/recipes-core/systemd/systemd_229.bb
@@ -298,7 +298,7 @@ PACKAGES =+ "\
${PN}-extra-utils \
"
-SYSTEMD_PACKAGES = "${PN}-binfmt"
+SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)}"
SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"
USERADD_PACKAGES = "${PN}"