diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-02 13:53:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-04 23:33:12 +0000 |
commit | dd4a319efcfa1174ba0f48fd15cb446280c426e4 (patch) | |
tree | af3a813d76aae6e90e93970b8cf46d581a2a2f81 /meta/lib | |
parent | c92ac7996b1b65a9171ea00e7156c87cccc07cec (diff) | |
download | openembedded-core-dd4a319efcfa1174ba0f48fd15cb446280c426e4.tar.gz openembedded-core-dd4a319efcfa1174ba0f48fd15cb446280c426e4.tar.bz2 openembedded-core-dd4a319efcfa1174ba0f48fd15cb446280c426e4.zip |
sstate: Fix SSTATE_SWSPEC only used by populate_lic tasks
This variable is only used by populate_lic tasks (gcc-source overrides it)
and refers to BPN. In recipes like gcc, where there are multiple variants,
it is resulting in sstate objects which encode PN (they install into a PN subdir)
but the sstate object reflects BPN. This leads to corruption between then and
eventually, warnings from image builds like:
WARNING: The license listed GPLv3 was not in the licenses collected for recipe gcc
WARNING: The license listed GPL-3.0-with-GCC-exception was not in the licenses collected for recipe gcc
WARNING: The license listed GPLv3 was not in the licenses collected for recipe gcc
WARNING: The license listed NCSA was not in the licenses collected for recipe gcc-sanitizers
WARNING: The license listed MIT was not in the licenses collected for recipe gcc-sanitizers
WARNING: The license listed GPL-3.0-with-GCC-exception was not in the licenses collected for recipe gcc
WARNING: The license listed GPLv3 was not in the licenses collected for recipe gcc
WARNING: The license listed NCSA was not in the licenses collected for recipe gcc-sanitizers
By referring to PN, as used by license.bbclass, this issue is resolved.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions