[oe-commits] [openembedded-core] 21/52: packagegroup-core-lsb: avoid rebuilding when changing layer config

git at git.openembedded.org git at git.openembedded.org
Thu Mar 16 17:38:54 UTC 2017


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

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

commit f138ac11cc38485feaaaa4e3cb8ce455dd74e7dc
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Thu Mar 16 22:09:43 2017 +1300

    packagegroup-core-lsb: avoid rebuilding when changing layer config
    
    It's regrettable that code in here is referring to BBFILE_COLLECTIONS,
    but it is, and the result is that this packagegroup will rebuild simply
    by adding or removing a layer which may be completely unrelated to
    whether you've got meta-qt4 or not. Add BBFILE_COLLECTIONS to
    vardepsexclude for the function to avoid this. (This was flagged up when
    testing the new yocto-compat-layer script - it understandably but
    undesirably reports it as a change caused by a layer).
    
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
index 3aedf6b..a156bcb 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
@@ -225,6 +225,8 @@ def get_libqt4(d):
                 'libraries. Its intended use is for passing LSB tests as Qt4 is ' \
                 'a requirement for LSB.')
     return ''
+# We don't want this to rebuild every time you change your layer config
+get_libqt4[vardepsexclude] += "BBFILE_COLLECTIONS"
 
 SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
 DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \

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


More information about the Openembedded-commits mailing list