]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
sstate.bbclass: normalize whitelisted paths
authorMax Krummenacher <max.oss.09@gmail.com>
Sun, 11 Sep 2016 17:13:20 +0000 (19:13 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 21:22:11 +0000 (22:22 +0100)
commitf5e2dafcb882ae4a08c64dbedd9fae41dcb2b317
tree0620bb253686991a6239f0505e8e4454be6ce6b3
parentd115b1277fc76bc04583f751ae8146b97e0a0f30
sstate.bbclass: normalize whitelisted paths

Without this a whitelisted path containing /../ breaks the test for a file
allowed to be provided by more than one recipe.

Noticed when local.conf contains:
DEPLOY_DIR = "${TOPDIR}/../deploy"

|ERROR: core-image-minimal-1.0-r0 do_image_complete: The recipe
| core-image-minimal is trying to install files into a shared area when those
| files already exist. Those files and their manifest location are:
| .../poky/deploy/images/qemux86/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
| Matched in b'manifest-qemux86-linux-yocto.deploy'

(From OE-Core rev: d82acf20541463b14a811788d28fb1db3539885b)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass