[OE-core] [PATCH 2/2 v2] blacklist.bbclass: Refactor, use PNBLACKLIST[pn]

Koen Kooi koen at dominion.thruhere.net
Wed May 9 20:45:10 UTC 2012


Op 9 mei 2012, om 22:00 heeft Mark Hatle het volgende geschreven:

> Revise the handling from ANGSTROM_BLACKLIST to PNBLACKLIST[pn].
> 
> Refactor the code to eliminate references to the distribution and recipe
> name in the message.
> 
> Change the skipPackage message message from:
> 
> ERROR: <recipe> was skipped: <distro> DOES NOT support <recipe> because <reason>
> 
> to:
> 
> ERROR: <recipe> was skipped: Recipe is blacklisted: <reason>
> 
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
> meta/classes/blacklist.bbclass |   22 +++++++++++-----------
> 1 files changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/meta/classes/blacklist.bbclass b/meta/classes/blacklist.bbclass
> index 7bf4a73..75abd99 100644
> --- a/meta/classes/blacklist.bbclass
> +++ b/meta/classes/blacklist.bbclass
> @@ -1,20 +1,20 @@
> -# anonymous support class from angstrom
> +# anonymous support class from originally from angstrom
> # 
> +# To use the blacklist, a distribution should include this
> +# class in the INHERIT_DISTRO

INHERIT works just fine as well





More information about the Openembedded-core mailing list