]> code.ossystems Code Review - openembedded-core.git/commit
scripts/combo-layer: a simple way to script the combo-layer conf
authorLeandro Dorileo <ldorileo@gmail.com>
Wed, 10 Aug 2011 05:09:05 +0000 (01:09 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Aug 2011 18:13:37 +0000 (19:13 +0100)
commit62269642ce0e0e56d68d495b6c4d27327c9ed649
tree6e3a1d929a3344ac42b174ba6fab20dd04878147
parenta752b23767189f2678367e47ca0b41f49c56a631
scripts/combo-layer: a simple way to script the combo-layer conf

This small patch introduces a a very simple and basic way to script
the combo-layer conf file. With that a combo can be shared with no
need to change its config - associated to the use of environment
variables for example.

*Similar* to bitbake it considers every value starting with @ to be
a python script. So local_repo could be easily configured as:

[bitbake]
local_repo = @os.getenv("LOCAL_REPO_DIR") + "/bitbake"

or any more sophisticated python syntax.

This version updates the config file description so users can be
aware of.

Signed-off-by: Leandro Dorileo <ldorileo@gmail.com>
scripts/combo-layer