]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: lib/bb/utils: improve edit_bblayers_conf() handling of bblayers.conf formatting
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 20 Nov 2015 04:11:16 +0000 (17:11 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Dec 2015 17:01:21 +0000 (17:01 +0000)
commit4de214f7529c1d9600dd2c0723d33d7241b3e0c8
treecd16b5c216760c7992e11b60aee88665017a0096
parent0debb11883379c746f91eb8a5262f22a669fd16b
bitbake: lib/bb/utils: improve edit_bblayers_conf() handling of bblayers.conf formatting

Make the following improvements to edit_bblayers_conf():

* Support ~ in BBLAYERS entries
* Handle where BBLAYERS items are added over multiple lines with +=
  instead of one single long item

Also add some comments documenting the function arguments and return
values as well as a set of bitbake-selftest tests.

(This function is used by the bitbake-layers add, remove and
layerindex-fetch subcommands, as well as devtool when adding the
workspace layer).

(Bitbake rev: e9a0858023c7671e30cc8ebb08496304b7f26b31)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/tests/utils.py
bitbake/lib/bb/utils.py