From: Herve Jourdain Date: Mon, 7 Mar 2016 15:59:32 +0000 (+0100) Subject: systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled X-Git-Tag: 2016-4~536 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=aa8856d39e149854e43bd0a6cd28a277288a8fc0;p=openembedded-core.git systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled Signed-off-by: Herve Jourdain Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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}"