[oe-commits] [openembedded-core] 13/63: systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled

git at git.openembedded.org git at git.openembedded.org
Wed Mar 9 16:40:07 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 1a4c1461d29a466dc7c5f111303b3ec27fa7e086
Author: Herve Jourdain <herve.jourdain at neuf.fr>
AuthorDate: Mon Mar 7 16:59:32 2016 +0100

    systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled
    
    Signed-off-by: Herve Jourdain <herve.jourdain at neuf.fr>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/systemd/systemd_229.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_229.bb b/meta/recipes-core/systemd/systemd_229.bb
index 16af0ac..cd48360 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}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list