]> code.ossystems Code Review - openembedded-core.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:20:03 +0000 (22:20 +0100)
commitd82acf20541463b14a811788d28fb1db3539885b
tree0767e04992fa6fdade7328b0a80827afd6ab2d47
parent58d6cd369a3316a6ba313a2f1982bde5d47c0608
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'

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