[OE-core] [PATCH] package: Fix license exclusion packaging errors

Khem Raj raj.khem at gmail.com
Wed Apr 29 15:42:34 UTC 2015


> On Apr 29, 2015, at 6:23 AM, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
> 
> 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]
> 

I am seeing exact issues with cairo as well. This seems to fix it so looks ok





More information about the Openembedded-core mailing list