]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: support creation of additional files by plugins
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 9 Mar 2016 04:48:54 +0000 (17:48 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2016 16:59:57 +0000 (16:59 +0000)
commit334b9451111b7e3efbb43b3a4eecebcab8ec6f0e
tree26cd514870612615bce363e755973bcf0a8883ac
parenta08d12ad867c292f7474731a0fe5e51e712446d6
recipetool: create: support creation of additional files by plugins

Allow plugins to create additional files to go alongside the recipe. The
plugins don't know what the output filename is going to be, so they need
to put the files in a temporary location and add them to an "extrafiles"
dict within extravalues where the destination filename is the key and
the temporary path is the value.

devtool add was also extended to ensure these files get moved in and
preserved upon reset if they've been edited by the user.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py
scripts/lib/recipetool/create.py