[OE-core] [PATCH 0/5] devtool / recipetool bbappend support

Paul Eggleton paul.eggleton at linux.intel.com
Mon May 18 15:15:03 UTC 2015


Add support for creating/updating bbappends in both devtool (within the
update-recipe subcommand) and in recipetool (with a new appendfile
subcommand), as well as some related tidy-ups.


The following changes since commit aa2e02a4f78d87bd466bbf92ca57147066c5367f:

  README: add "Contributing" section (2015-05-16 22:37:15 +0100)

are available in the git repository at:

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

Paul Eggleton (5):
  devtool / recipetool: ensure bb.note() gets printed
  lib/oe/patch: use with open() for all file operations
  oe-selftest: move recipetool tests to their own module
  recipetool: add appendfile subcommand
  devtool: update-recipe: add option to write changes to bbappend

 .../recipes-test/recipetool/files/add-file.patch   |   8 +
 meta-selftest/recipes-test/recipetool/files/file1  |   2 +
 .../recipes-test/recipetool/files/installscript.sh |   3 +
 .../recipetool/files/selftest-replaceme-inst-func  |   1 +
 .../files/selftest-replaceme-inst-globfile         |   1 +
 .../files/selftest-replaceme-inst-todir-globfile   |   1 +
 .../recipetool/files/selftest-replaceme-orig       |   1 +
 .../files/selftest-replaceme-src-globfile          |   1 +
 .../recipetool/files/selftest-replaceme-todir      |   1 +
 .../recipetool/files/subdir/fileinsubdir           |   1 +
 .../recipetool/selftest-recipetool-appendfile.bb   |  42 +++
 meta/lib/oe/patch.py                               | 103 ++++--
 meta/lib/oe/recipeutils.py                         | 328 ++++++++++++++++++-
 meta/lib/oeqa/selftest/devtool.py                  | 283 ++++++++++++----
 meta/lib/oeqa/selftest/recipetool.py               | 364 +++++++++++++++++++++
 meta/lib/oeqa/utils/commands.py                    |  11 +
 scripts/lib/devtool/__init__.py                    |   2 +-
 scripts/lib/devtool/standard.py                    | 155 ++++++---
 scripts/lib/recipetool/append.py                   | 360 ++++++++++++++++++++
 scripts/recipetool                                 |   8 +-
 20 files changed, 1548 insertions(+), 128 deletions(-)
 create mode 100644 meta-selftest/recipes-test/recipetool/files/add-file.patch
 create mode 100644 meta-selftest/recipes-test/recipetool/files/file1
 create mode 100644 meta-selftest/recipes-test/recipetool/files/installscript.sh
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-func
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-globfile
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-todir-globfile
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-orig
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-src-globfile
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-todir
 create mode 100644 meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir
 create mode 100644 meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb
 create mode 100644 meta/lib/oeqa/selftest/recipetool.py
 create mode 100644 scripts/lib/recipetool/append.py

-- 
2.1.0




More information about the Openembedded-core mailing list