The recent Yocto Project Summit and the devtool hands-on class triggered
a couple of questions for me, and when I investigated them, I stumbled
upon a number of problems. This series of patches solves them.
The first four patches are needed for me to be able to execute the
devtool and recipetool selftests in our environment. The next four
patches improve the identification of the license(s) used by a recipe,
and makes the SRC_URI checksums used by devtool and recipetool
consistent. Finally, there is a patch to make `devtool --no-extract`
work again (it regressed with the recent devtool changes that improved
git submodule support).
[PATCHv2] Update the commit message for patch 8/9 to make it clear(er)
that md5sum is still being removed when updating recipes.
//Peter
Peter Kjellerstedt (9):
oeqa/selftest/devtool: Correct git clone of local repository
oeqa/selftest/devtool: Avoid global Git hooks when amending a patch
oeqa/selftest/devtool: Make test_devtool_load_plugin more resilient
oeqa/selftest/recipetool: Make test_recipetool_load_plugin more
resilient
lib/oe/recipeutils: Avoid wrapping any SRC_URI[sha*sum] variables
recipetool: create: Improve identification of licenses
recipetool: create: Only include the expected SRC_URI checksums
devtool: upgrade: Update all existing checksums for the SRC_URI
devtool: modify: Make --no-extract work again
.../devtool/devtool-upgrade-test3_1.5.3.bb | 16 ++++
.../devtool-upgrade-test3_1.5.3.bb.upgraded | 15 +++
.../devtool/devtool-upgrade-test4_1.5.3.bb | 22 +++++
.../devtool-upgrade-test4_1.5.3.bb.upgraded | 19 ++++
meta/lib/oe/recipeutils.py | 2 +-
meta/lib/oeqa/selftest/cases/devtool.py | 77 +++++++++++++--
meta/lib/oeqa/selftest/cases/recipetool.py | 44 ++++-----
scripts/lib/devtool/standard.py | 3 +-
scripts/lib/devtool/upgrade.py | 51 +++++-----
scripts/lib/recipetool/create.py | 95 ++++++++++---------
10 files changed, 241 insertions(+), 103 deletions(-)
create mode 100644
meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb
create mode 100644
meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded
create mode 100644
meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb
create mode 100644
meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#191926):
https://lists.openembedded.org/g/openembedded-core/message/191926
Mute This Topic: https://lists.openembedded.org/mt/103021960/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-