]> code.ossystems Code Review - openembedded-core.git/commit
devtool: update-recipe: add option to write changes to bbappend
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 18 May 2015 15:15:08 +0000 (16:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 May 2015 07:16:48 +0000 (08:16 +0100)
commit87d487ea4fdfb6cd30e3b3fad47732db12e86f23
tree12ce2dca1bcd3d929b952f8ecd7e1686c3bfde2f
parentdd2aa93b3c13d2c6464ef0fda59620c7dba450bb
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/devtool.py
scripts/lib/devtool/standard.py