diff options
author | Ross Burton <ross.burton@intel.com> | 2016-11-02 14:59:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-06 23:35:22 +0000 |
commit | 94f5ac0651249cb98fb8d1308b7c0d10605d5a1e (patch) | |
tree | dda6a36a7d8373380fbd7469fd9cbe237ba80b51 /meta/classes/uboot-extlinux-config.bbclass | |
parent | 3a52f2d3ef6bc85c68bf42f8e116a8065a67fdfe (diff) | |
download | openembedded-core-94f5ac0651249cb98fb8d1308b7c0d10605d5a1e.tar.gz openembedded-core-94f5ac0651249cb98fb8d1308b7c0d10605d5a1e.tar.bz2 openembedded-core-94f5ac0651249cb98fb8d1308b7c0d10605d5a1e.zip |
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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/uboot-extlinux-config.bbclass')
0 files changed, 0 insertions, 0 deletions