Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] base/license.bbclass: handle multiple INCOMPATIBLE_LICENSEs
@ 2012-11-01 18:02 Andy Ross
  2012-11-01 18:02 ` [PATCH] " Andy Ross
  2012-11-16 19:09 ` [PATCH 0/1] " Andy Ross
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Ross @ 2012-11-01 18:02 UTC (permalink / raw)
  To: openembedded-core, Mark Hatle

We hit a problem trying to exclude L/GPLv3 recipes where
INCOMPATIBLE_LICENSE could only match exactly one license.  The older
wildcard syntax had been broken by a more recent SPDX change
(specifying a string without a SPDXLICENSEMAP entry could crash), so
"*GPLv3" wouldn't work.

This fixes that, and extends INCOMPATIBLE_LICENSE to handle a
whitespace-separated list of license strings to exclude (e.g "GPLv3
LGPLv3").  This is compatible with existing usage because the LICENSE
parsing is already done on whitespace: a pre-existing
INCOMPATIBLE_LICENSE value with whitespace could not have matched
anything in practice.

All other behavior should be unaffected.  Note specifically that the
LGPLv2_WHITELIST_${license} variables are used as whitelists for all
licenses (i.e. identically to WHITELIST_... and
HOSTTOOLS_WHITELIST_...).  That sounds wrong, but seems to have been
the preexisting behavior.  Ideas?

Andy




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-11-29  0:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01 18:02 [PATCH 0/1] base/license.bbclass: handle multiple INCOMPATIBLE_LICENSEs Andy Ross
2012-11-01 18:02 ` [PATCH] " Andy Ross
2012-11-16 19:09 ` [PATCH 0/1] " Andy Ross
2012-11-19 16:37   ` Richard Purdie
2012-11-28 23:14     ` Flanagan, Elizabeth
2012-11-28 23:19       ` Andy Ross
2012-11-29  0:20         ` Flanagan, Elizabeth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox