[oe-commits] Paul Eggleton : devtool: update-recipe: add option to write changes to bbappend

git at git.openembedded.org git at git.openembedded.org
Tue May 19 11:01:15 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 87d487ea4fdfb6cd30e3b3fad47732db12e86f23
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=87d487ea4fdfb6cd30e3b3fad47732db12e86f23

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Mon May 18 16:15:08 2015 +0100

devtool: update-recipe: add option to write changes to bbappend

Quite often what you want to do having made customisations to a piece of
software is to apply those customisations in your own layer rather than
in the original recipe. Thus, add a -a/--append option to the
update-recipe subcommand which allows you to specify the layer to write
a bbappend into. The bbappend will be created at the appropriate path
within the specified layer directory (which may or may not be in your
bblayers.conf) or if one already exists it will be updated
appropriately.

(This re-uses code written for recipetool appendfile.)

Implements [YOCTO #7587].

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oeqa/selftest/devtool.py | 171 ++++++++++++++++++++++++++++++++++++++
 scripts/lib/devtool/standard.py   | 148 ++++++++++++++++++++++++---------
 2 files changed, 278 insertions(+), 41 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=87d487ea4fdfb6cd30e3b3fad47732db12e86f23


More information about the Openembedded-commits mailing list