generic-poky/meta
Ross Burton e35775c598 classes/license: copy licenses even if there are no checksummed files
Previously do_populate_lic would bail writing the license files (such as the MIT
license text) to deploy/licenses/${PN}/ if there were no files listed in
LIC_FILES_CHKSUM.  In general this isn't a problem since LIC_FILES_CHKSUM was
effectively a required field, and for packages which don't have traditional
content was generally set to a separate license such as
${COREBASE}/meta/COPYING.MIT.

However LIC_FILES_CHKSUM is now only required if there are sources in SRC_URI,
so oe-core b18fa5f removed these now redundant values. The unexpected side
effect of this is that that recipes that generate their content (such as
os-release) or are otherwise "interesting" (such as perf) don't have their
license files copied over, resulting in warnings from do_rootfs.

Resolve this by not returning early if LIC_FILES_CHKSUM is empty, and always
copy the references license files.

(From OE-Core rev: 94f5ac0651249cb98fb8d1308b7c0d10605d5a1e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-06 23:35:36 +00:00
..
classes classes/license: copy licenses even if there are no checksummed files 2016-11-06 23:35:36 +00:00
conf runqemu: add user mode (SLIRP) support to x86 QEMU targets 2016-11-06 23:35:35 +00:00
files sdk-installer: Fix unclear SDK installer message 2016-10-11 22:59:35 +01:00
lib package_manager.py: correctly remove all dependent packages 2016-11-06 23:35:33 +00:00
recipes-bsp acpid: Upgrade 2.0.27 -> 2.0.28 2016-11-06 23:35:34 +00:00
recipes-connectivity bluez5: Upgrade 5.41 -> 5.42 2016-11-06 23:35:34 +00:00
recipes-core util-linux: add su.1 to update-alternatives 2016-11-06 23:35:33 +00:00
recipes-devtools guilt: remove 2016-11-06 23:35:36 +00:00
recipes-extended bash_3.2.x: update recipe version to match what we're shipping 2016-11-06 23:35:35 +00:00
recipes-gnome libwnck3: remove the recipe 2016-11-06 23:35:34 +00:00
recipes-graphics libxrandr: Update to version 1.5.1 2016-11-06 23:35:35 +00:00
recipes-kernel lttng-tools: do not install shared libraries in ptest package 2016-11-06 23:35:33 +00:00
recipes-lsb4 libpng12: Handle no static libs 2016-02-15 16:28:46 +00:00
recipes-multimedia libpng: Upgrade 1.6.24 -> 1.6.25 2016-11-06 23:35:35 +00:00
recipes-rt rt-tests: fix the recipe version to match upstream 2016-11-06 23:35:34 +00:00
recipes-sato webkitgtk: remove lib_package inherit as executables are now installed in libexecdir 2016-11-06 23:35:34 +00:00
recipes-support neon: Upgrade 0.30.1 -> 0.30.2 2016-11-06 23:35:34 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00