diff options
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-03-16 20:30:47 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-03-16 22:07:38 +1300
commita9369f4e5031aa270498b5dde4c49a857b0ee58f (patch)
parentb81f5c38920007df83f55c10eea8375baa1828af (diff)
packagegroup-core-lsb: avoid rebuilding when changing layer configpaule/fixes1
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@linux.intel.com>
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
index 3aedf6b7a5..a156bcb95c 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 \