]> code.ossystems Code Review - openembedded-core.git/commit
meta-estsdk-toolchain: use WORKDIR instead of D to hold locked-sigs
authorRoss Burton <ross.burton@intel.com>
Thu, 2 Mar 2017 14:16:05 +0000 (14:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Mar 2017 14:21:05 +0000 (14:21 +0000)
commit97056011c17f343e697aa9f0d418f6487b9f7465
tree3b5badcd840fcb17e9d96c83115181ad201b1125
parent0116e4814aa55feb0f8944deb98e39b4534bab0c
meta-estsdk-toolchain: use WORKDIR instead of D to hold locked-sigs

do_locked_sigs() uses ${D} to hold a file as input to the sstate staging code.
Generally this isn't a problem as it happens after packaging, but sometimes (if
the recipe is rebuild, perhaps) do_package() will see the file inside ${D} and
fail because there is an uninstalled file.

Solve this by using a directory under ${WORKDIR} so it can't be packaged.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/meta-extsdk-toolchain.bb