poky/scripts/lib
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
..
bsp linux-yocto: add linux-yocto 4.12 bbappends 2017-08-31 23:37:10 +01:00
build_perf scripts/oe-build-perf-report: fix 'charts ready' console message 2017-04-05 23:22:13 +01:00
compatlayer yocto-compat-layer.py: make signature check code reusable 2017-07-06 14:38:14 +01:00
devtool devtool: ensure recipes devtool is working on are unlocked within the eSDK 2017-09-18 11:07:29 +01:00
recipetool devtool/standard: set a preferred provider when adding a new recipe with devtool 2017-09-13 22:07:42 +01:00
wic wic: accept '-' in bitbake variables 2017-09-18 11:07:29 +01:00
argparse_oe.py argparse_oe: Add int_positive type 2017-07-21 08:44:25 +01:00
scriptpath.py scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
scriptutils.py scriptutils: fix fetch_url() to use lowercase dummy recipe name 2017-08-31 23:30:03 +01:00