]> code.ossystems Code Review - openembedded-core.git/commit
gen-lockedsig-cache: copy correct native sstate into ext SDK
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 22 Jan 2016 11:59:56 +0000 (00:59 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:57 +0000 (23:42 +0000)
commit6c6baf6aa1823b8b20123f505e45c2768a193ad5
tree208a55c3712cfeda6e93b338a307f4f19bea7d48
parent176e2bddb45b417b0bfbcdcd95bd5e81505e1e5b
gen-lockedsig-cache: copy correct native sstate into ext SDK

When constructing the sstate-cache directory for the extensible SDK,
we were copying in any matching native sstate packages, and as the
signature doesn't actually change when the distro changes (since
NATIVELSBSTRING is just a path separator for the artifacts and is not
part of the signature) we ended up copying duplicated packages when the
distro changed e.g. upon host distro upgrade. Only search in the
NATIVELSBSTRING-named subdirectory for native packages and the issue
goes away.

Fixes [YOCTO #8885].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/copy_buildsystem.py
scripts/gen-lockedsig-cache