[oe-commits] [openembedded-core] 19/55: connman.inc: do not check IMAGE_FEATURES

git at git.openembedded.org git at git.openembedded.org
Fri Jan 5 12:07:37 UTC 2018


This is an automated email from the git hooks/post-receive script.

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

commit 169368457f2591c359bb3de50752efccb2d1a0f7
Author: Patrick Ohly <patrick.ohly at intel.com>
AuthorDate: Mon Nov 27 16:56:41 2017 +0100

    connman.inc: do not check IMAGE_FEATURES
    
    Recipes can't rely on IMAGE_FEATURES to determine whether the
    resulting packages will be used in an image with read/write or
    read-only rootfs because IMAGE_FEATURES is a per-image recipe
    variable.
    
    The connman.inc code checked IMAGE_FEATURES to determine whether
    /var/run/connman needs to be created via tmpfiles.d when booting a
    read-only rootfs. In my tests that is not necessary (anymore?),
    something (connman itself?) creates the missing directory.
    
    Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    (cherry picked from commit 577585375efac8f86223d7549ce39cd70877cbd9)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-connectivity/connman/connman.inc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 6c8f405..2b03f9c 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -97,9 +97,6 @@ do_install_append() {
 
     # For read-only filesystem, do not create links during bootup
     if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-        if ${@bb.utils.contains('IMAGE_FEATURES','read-only-rootfs','true','false',d)}; then
-            echo "d    /var/run/connman    - - - -" > ${D}${sysconfdir}/tmpfiles.d/connman_resolvconf.conf
-        fi
         ln -sf ../run/connman/resolv.conf ${D}${sysconfdir}/resolv-conf.connman
     fi
 }

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


More information about the Openembedded-commits mailing list