poky/meta
Richard Purdie 7ebbd68f0f license/license_image: Fix license file layout to avoid overlapping files
Currently DEPLOY_DIR/licenses is added to SSTATE_ALLOW_OVERLAP_FILES. This
leads to bugs since when one MACHINE_ARCH recipes is cleaned, it removes the
files for another which then results in later build failures as license files
disappear.

The solution is to include SSTAGE_PKGARCH in the path names to the license files.
That does mean a search has to be used to find the correct license files for a
given PN but that can be done via SSTATE_ARCHS.

The implication for other tools is the layout has changed so tools will need to
adapt to the new paths. The benefit is no more strange build failures such as from
patterns like:

MACHINE=qemux86-64 bitbake core-image-minimal
MACHINE=genericx86-64 bitbake core-image-minimal
MACHINE=qemux86-64 bitbake linux-yocto -c clean
MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs

[YOCTO #14123]

For anyone finding this commit, I'd question how much people should be relying on
this code for tooling and suggest the SPDX manifests should be the preferred data
format going forward anyway.

(From OE-Core rev: 1a4ab9fc26659507e678e87312b514e8ea515673)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20 23:51:11 +01:00
..
classes multilib: fix SSTATE_ARCHS for multilib usage 2023-09-20 23:51:11 +01:00
classes-global license/license_image: Fix license file layout to avoid overlapping files 2023-09-20 23:51:11 +01:00
classes-recipe license/license_image: Fix license file layout to avoid overlapping files 2023-09-20 23:51:11 +01:00
conf libxmlb: import recipe from meta-oe 2023-09-20 08:57:26 +01:00
files build-sysroots: target or native sysroot population need to be selected explicitly 2023-09-09 12:04:55 +01:00
lib oeqa/selftest/wic: Improve assertTrue calls 2023-09-20 08:57:26 +01:00
recipes-bsp recipes/classes/scripts: Drop SRCPV usage in OE-Core 2023-08-24 16:50:24 +01:00
recipes-connectivity openssl: ensure all ptest fails are caught 2023-09-18 08:53:10 +01:00
recipes-core util-linux: Fix lscpu on musl 2023-09-20 08:57:26 +01:00
recipes-devtools qemu: Add PACKAGECONFIG for dax 2023-09-20 23:51:11 +01:00
recipes-extended shadow: fix patch Upstream-Status 2023-09-20 23:51:11 +01:00
recipes-gnome libxmlb: import recipe from meta-oe 2023-09-20 08:57:26 +01:00
recipes-graphics piglit: update to latest revision 2023-09-18 08:53:10 +01:00
recipes-kernel lttng-tools: Upgrade 2.13.10 -> 2.13.11 2023-09-20 08:57:26 +01:00
recipes-multimedia alsa-utils: update patch Upstream-Status 2023-09-20 23:51:11 +01:00
recipes-rt recipes: Default to https git protocol where possible 2023-05-05 11:07:25 +01:00
recipes-sato webkitgtk: explicitly disable JIT for armv7* with softfp 2023-09-07 14:36:30 +01:00
recipes-support libevent: fix patch Upstream-Status 2023-09-20 23:51:11 +01:00
site site: remove at-spi2-core values 2023-09-02 07:45:29 +01:00
COPYING.MIT
recipes.txt