aboutsummaryrefslogtreecommitdiffstats
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:54:36 +0000
commitaa8856d39e149854e43bd0a6cd28a277288a8fc0 (patch)
tree43e7bdcafcd53b6e627d023be0a3fc0fc3455628
parenta411e96c3989bc9ffbd870b54cd6a7ad2e9f2c61 (diff)
downloadopenembedded-core-contrib-aa8856d39e149854e43bd0a6cd28a277288a8fc0.tar.gz
systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled
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>
-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}"