summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>2016-04-11 00:29:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-11 22:02:04 +0100
commit16cb70663f4178d386a6e2dad119b569319a646f (patch)
tree33f79ae6175cd7a3775e7ca5b09d2bf150d46a59 /meta
parent3f54d40e23a2de8f0f2888bd94e7ebecfbced010 (diff)
downloadpoky-16cb70663f4178d386a6e2dad119b569319a646f.tar.gz
boost: ensure boost to remain an empty metapackage
To ensure that boost remains an empty metapackage after version updates, we explicitly require boost files to be empty. If new libraries exist after a version update of the boost recipe, bitbake will emit a warning at the do_package task. For example, at the version update from 1.58.0 to 1.59.0, the new timer library is indicated with: WARNING: QA Issue: boost: Files/directories were installed but not shipped in any package: /usr/lib/libboost_timer.so.1.59.0 Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. boost: 1 installed and not shipped files. [installed-vs-shipped] Ross Burton suggested this improvement on the openembedded-core mailing list during review of the boost recipe version update [1]. [1] http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114314.html (From OE-Core master rev: c4e33232db2da3594cc4ba38eea56ee1acb54d3a) (From OE-Core rev: 90dcc9838e5be74f5ec7a8380cf6da3bddb1c955) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/boost/boost.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 3288e845f9..bb49d60100 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -59,6 +59,7 @@ FILES_boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \
59 59
60# -dev last to pick up the remaining stuff 60# -dev last to pick up the remaining stuff
61PACKAGES += "${PN}-dev ${PN}-staticdev" 61PACKAGES += "${PN}-dev ${PN}-staticdev"
62FILES_${PN} = ""
62FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so" 63FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so"
63FILES_${PN}-staticdev = "${libdir}/libboost_*.a" 64FILES_${PN}-staticdev = "${libdir}/libboost_*.a"
64 65