summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-03-16 22:09:43 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-16 22:11:32 +0000
commitbbdbdcaf06354933ad3ff0301e4c42ffeb7e3c61 (patch)
treefb96ddaafb8de76ac1ac5508367fdc2490288673 /meta/recipes-extended
parent8aebe890fde0fe350efff3610325005a44b8f2a8 (diff)
downloadpoky-bbdbdcaf06354933ad3ff0301e4c42ffeb7e3c61.tar.gz
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). (From OE-Core rev: 10dc69467677a4ce2a26aa670bbb9c1d7d783a0e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb2
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):
225 'libraries. Its intended use is for passing LSB tests as Qt4 is ' \ 225 'libraries. Its intended use is for passing LSB tests as Qt4 is ' \
226 'a requirement for LSB.') 226 'a requirement for LSB.')
227 return '' 227 return ''
228# We don't want this to rebuild every time you change your layer config
229get_libqt4[vardepsexclude] += "BBFILE_COLLECTIONS"
228 230
229SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop" 231SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
230DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \ 232DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \