[OE-core] [PATCH] recipetool: create: allow handers to set license
Paul Eggleton
paul.eggleton at linux.intel.com
Thu Aug 17 23:35:31 UTC 2017
On Thursday, 10 August 2017 10:00:39 PM NZST Richard Purdie wrote:
> On Wed, 2017-08-02 at 16:09 -0700, Mark D Horn wrote:
> > Recipetool plugins set through register_recipe_handlers were not able
> > to impact the license type via setting extravalues['LICENSE']. This
> > is
> > due to caching the license variables in create_recipe before the
> > handlers
> > have been executed.
> >
> > This change moves the call to handle_license_vars well after the
> > registered plugins (and extravalue functions) have been called.
> >
> > Signed-off-by: Mark D Horn <mark.d.horn at intel.com>
> > ---
> > scripts/lib/recipetool/create.py | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> I'm afraid this leads to oe-selftest regressions and issues in devtool:
>...
FYI Mark and I have discussed this offline and I have a reworked change for
which the tests pass - I just need to sort out where some of the other devtool
patches are and I will send it out.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list