diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-14 17:45:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-15 11:48:07 +0000 |
commit | 13940a81dae451b8efa9b94f2b7f5a37fbb6c9af (patch) | |
tree | 9dba6ecfd8b1f159da87502535150dde50eff63c /meta-yocto-bsp/README.hardware | |
parent | 88c41f3d8bc0107d7e416b69b2ac248c2e57c9fc (diff) | |
download | poky-13940a81dae451b8efa9b94f2b7f5a37fbb6c9af.tar.gz |
lib/oe/recipeutils: Add a new function to mimic do_checkpkg
The code in distrodata.bbclass related to the do_checkpkg task is rather
dated, has holes in it (ignoring some recipes) and has horrible locking
and csv related issues.
We should use modern APIs such as tinfoil to make the calls we need directly
against bitbake, cutting out the middleman and clarifing the code.
This change imports the bits of distrodata.bbclass that are needed by the
automated upgrade helper (AUH) into a standalone function which uses the
tinfoil API. This can then be used by AUH and by the tests in
oeqa/selftest/distrodata as well as by any other standalone script that needs
this functionality. Its likely it can be further improved from here but this is a
good start and appears to function as before, with slightly wider recipe
coverage as some things skipped by distrodata are not skipped here (images,
pieces of gcc, nativesdk only recipes).
(From OE-Core rev: 92e33277b1b7892bae9cc0801ab379bd1c57c0f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/README.hardware')
0 files changed, 0 insertions, 0 deletions