Skip to contentSkip to conversation

license.bbclass: Fix for infinite recursion and bad license_type

PATCH Applied Elizabeth Flanagan 2 participants 2 messages May 29, 2011

lore
Share & tools
lore
#0 lore raw

cover license.bbclass: Fix for infinite recursion and bad license_type

- Fixing LicenseVisitor so it forks at a BitOr instead of infinitely checking the node.
- Fixing the bad license_type syntax by lstriping it so it's valid python.
- Moved the bb.warn that we're using a SPDXLICENSEMAP to a note.

The following changes since commit 1169f1b066d0028bd2ef7915440450bd42ef165e:

license.bbclass: Sane Parsing of licenses (2011-05-27 23:36:24 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib eflanagan/common-licenses
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/common-licenses

Beth Flanagan (1):
license.bbclass: Infinite recursion of or nodes

 meta/classes/license.bbclass |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
#1 lore raw
Quoted 6 lines · Elizabeth Flanagan

- Fixing LicenseVisitor so it forks at a BitOr instead of infinitely checking the node.
- Fixing the bad license_type syntax by lstriping it so it's valid python.
- Moved the bb.warn that we're using a SPDXLICENSEMAP to a note.

The following changes since commit 1169f1b066d0028bd2ef7915440450bd42ef165e:

Quoted 8 lines
   license.bbclass: Sane Parsing of licenses (2011-05-27 23:36:24 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib eflanagan/common-licenses
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/common-licenses

Beth Flanagan (1):
license.bbclass: Infinite recursion of or nodes

Merged to master, thanks.

Richard