Skip to content

devtool and externalsrc improvements

Paul Eggleton openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15recipetool: fix regression caused by previous commitscripts/lib/recipetool/create.py+4 -40 replies
2/15lib/oe/patch: fix PATCHTOOL = "git" with source in a subdirectorymeta/lib/oe/patch.py+5 -20 replies
3/15classes/externalsrc: fix source being wiped out on clean with kernelmeta/classes/externalsrc.bbclass+14 -00 replies
4/15classes/externalsrc: add workaround for recipes that use SRCPV in PVmeta/classes/externalsrc.bbclass+4 -00 replies
5/15classes/externalsrc: show a warning on compilingmeta/classes/externalsrc.bbclass+6 -00 replies
6/15classes/kernel-yocto: extend SRCTREECOVEREDTASKSmeta/classes/kernel-yocto.bbclass+1 -10 replies
7/15devtool: add/modify: add option to build in same directoryscripts/lib/devtool/standard.py+9 -20 replies
8/15devtool: reset: run bitbake -c clean on recipemeta/lib/oeqa/selftest/devtool.py scripts/lib/devtool/standard.py+10 -00 replies
9/15devtool: build: run do_populate_sysroot instead of do_installmeta/lib/oeqa/selftest/devtool.py scripts/lib/devtool/standard.py+43 -20 replies
10/15lib/oe/recipeutils: minor improvements to patch_recipe()meta/lib/oe/recipeutils.py+2 -20 replies
11/15devtool: update-recipe: add handling for git recipesmeta/lib/oeqa/selftest/devtool.py scripts/lib/devtool/standard.py+213 -870 replies
12/15devtool: prevent extract/modify use with image recipesscripts/lib/devtool/standard.py+8 -00 replies
13/15devtool: modify: handle recipes that use a shared workdirscripts/lib/devtool/standard.py+6 -40 replies
14/15devtool: support source extraction for recipes that use a shared workdirscripts/lib/devtool/standard.py+14 -50 replies
15/15devtool: fix broken clones of git recipesmeta/lib/oeqa/selftest/devtool.py scripts/lib/devtool/standard.py+40 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] devtool and externalsrc improvements

I've been attempting to enable usage of devtool with the kernel (which effectively means using the externalsrc class with the kernel). This doesn't really work yet due to lack of handling the kernel configuration, so you still can't use externalsrc properly with the kernel, but this at least gets us further - you can now extract the source successfully and run a build. I also discovered and fixed a number of related issues along the way, and made a few behavioural improvements in both devtool and externalsrc.

The following changes since commit ad016fa7492ba23c751cf33dd1befde7782facfa:

lzo: Upgrade to 2.09 and add ptest (2015-02-19 07:50:44 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/devtool-fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/devtool-fixes

Paul Eggleton (15):
recipetool: fix regression caused by previous commit lib/oe/patch: fix PATCHTOOL = "git" with source in a subdirectory classes/externalsrc: fix source being wiped out on clean with kernel classes/externalsrc: add workaround for recipes that use SRCPV in PV classes/externalsrc: show a warning on compiling classes/kernel-yocto: extend SRCTREECOVEREDTASKS
devtool: add/modify: add option to build in same directory
devtool: reset: run bitbake -c clean on recipe
devtool: build: run do_populate_sysroot instead of do_install lib/oe/recipeutils: minor improvements to patch_recipe()
devtool: update-recipe: add handling for git recipes
devtool: prevent extract/modify use with image recipes
devtool: modify: handle recipes that use a shared workdir
devtool: support source extraction for recipes that use a shared
workdir
devtool: fix broken clones of git recipes

 meta/classes/externalsrc.bbclass  |  24 ++++
 meta/classes/kernel-yocto.bbclass |   2 +-
 meta/lib/oe/patch.py              |   7 +-
 meta/lib/oe/recipeutils.py        |   4 +-
 meta/lib/oeqa/selftest/devtool.py | 147 ++++++++++++++++++-
 scripts/lib/devtool/standard.py   | 292 +++++++++++++++++++++++++-------------
 scripts/lib/recipetool/create.py  |   8 +-
 7 files changed, 377 insertions(+), 107 deletions(-)
Signature · 1 line
1.9.3