summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-13 20:09:37 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-14 09:56:35 +0000
commit1c99d74a862f25e23ea6465fab7ddc9ce74d6974 (patch)
tree2c347cd12fa5851f876e58f8feb2669ae4468f67 /scripts/lib
parentf13b56266ee96dfab65a3a7db50e8051aa9f071a (diff)
downloadopenembedded-core-1c99d74a862f25e23ea6465fab7ddc9ce74d6974.tar.gz
openembedded-core-1c99d74a862f25e23ea6465fab7ddc9ce74d6974.tar.bz2
openembedded-core-1c99d74a862f25e23ea6465fab7ddc9ce74d6974.zip
classes/base: fix license file checksumming when source not under TMPDIR
With the changes to the code for extracting source for a recipe, we are properly executing the tasks for a recipe, which means their stamps (and therefore signatures) are important. When running devtool extract on the lsof recipe I noticed that do_fetch and do_unpack were executing a second time when we called for do_patch, and this turned out to be because LIC_FILES_CHKSUM in that recipe contains an entry which is an absolute path (has ${S} at the start). Normally this wouldn't be an issue since S is under TMPDIR and thus the existing code would ignore it, however devtool's extraction code extracts to a temporary directory which is not under TMPDIR; the result was the path to this file was not being ignored and the second time around when the license file had been extracted it was incorporated into the signature. We don't want this, so explicitly exclude S as well as B and WORKDIR for good measure. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions