poky/scripts/lib/devtool
Paul Eggleton 3fde63363a devtool: ensure recipes devtool is working on are unlocked within the eSDK
Alongside reworking the way devtool extracts source, we now need to
ensure that within the extensible SDK where task signatures are locked,
the signatures of the tasks for the recipes being worked on get unlocked
at the right time or otherwise we'll now get taskhash mismatches when
running devtool modify on a recipe that was included in the eSDK such as
the kernel (due to a separate bug). The existing mechanism for
auto-unlocking recipes was a little weak and was happening too late, so
I've reimplemented it so that:
(a) it gets triggered immediately when the recipe/append is created
(b) we avoid writing to the unlocked signatures file unnecessarily
    (since it's a global configuration file) and
(c) within the eSDK configuration we whitelist SIGGEN_UNLOCKED_RECIPES
    to avoid unnecessary reparses every time we perform one of the
    devtool operations that does need to change this list.

Fixes [YOCTO #11883] (not the underlying cause, but this manifestation
of the issue).

(From OE-Core rev: 4e9a0be32fc30fb87d65da7cd1a4015c99533aff)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-18 11:07:29 +01:00
..
__init__.py devtool: ensure recipes devtool is working on are unlocked within the eSDK 2017-09-18 11:07:29 +01:00
build_image.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
build_sdk.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
build.py devtool: add "rename" subcommand 2016-11-07 11:04:22 +00:00
deploy.py devtool: deploy-target: Support stripped libs and execs 2017-08-27 22:32:00 +01:00
export.py devtool: export: new plugin to export the devtool workspace 2017-08-23 08:47:02 +01:00
import.py devtool: import: new plugin to import the devtool workspace 2017-08-23 08:47:02 +01:00
package.py meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
runqemu.py devtool: point runqemu to correct native bindir 2017-04-05 23:22:12 +01:00
sdk.py devtool: sdk-update: fix pulling updates from git 2017-08-09 09:24:16 +01:00
search.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
standard.py devtool: ensure recipes devtool is working on are unlocked within the eSDK 2017-09-18 11:07:29 +01:00
upgrade.py devtool: ensure recipes devtool is working on are unlocked within the eSDK 2017-09-18 11:07:29 +01:00
utilcmds.py devtool: edit-recipe: fix regression 2017-08-31 23:30:02 +01:00