From e186d6d1b89485bd9c833f9f9c8f2c2ea1082b49 Mon Sep 17 00:00:00 2001 From: Herve Jourdain Date: Mon, 7 Mar 2016 16:59:32 +0100 Subject: systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled (From OE-Core rev: aa8856d39e149854e43bd0a6cd28a277288a8fc0) Signed-off-by: Herve Jourdain Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_229.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/systemd') 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}" -- cgit v1.2.3-54-g00ecf