diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-29 14:23:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-30 23:04:18 +0100 |
commit | bae779411213b73376b2d713683e3392829acef9 (patch) | |
tree | 38d9441a64def5081724c560da863ccd1663f94b /scripts | |
parent | 24609d9b60f1c64b78c9989b0c6644f3c2895da0 (diff) | |
download | poky-bae779411213b73376b2d713683e3392829acef9.tar.gz |
package: Fix license exclusion packaging errors
Currently the license exclusion code removes packages from PACKAGES
pre population of the package directories. This means that the FILES
entries for some packages are not seen and invariably results in
packaging errors.
Instead, remove the packages from PACKAGES post population of the packages
so the usual FILES entries work as expected but the file are not placed
into any packages and no packages containing embargoed licenses are generated.
This avoids errors from gcc-runtime with GPLv3 exclusion like:
ERROR: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
/usr/share
/usr/src
/usr/share/gcc-4.9.2
/usr/share/gcc-4.9.2/python
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
(From OE-Core rev: 09c3d648c95fe88197c15d656bda1c9303aa2079)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions