]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: clarify COMMERCIAL_LICENSE skip reason
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 23 Aug 2011 15:51:07 +0000 (16:51 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Aug 2011 01:32:24 +0000 (18:32 -0700)
Change to a proper sentence and add a reference to the
COMMERCIAL_LICENSE variable so that the user knows where this can be
controlled.

Addresses remainder of [YOCTO #846]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/base.bbclass

index 4332d2434e8b079f6b39858c202d109ef7a57ff4..3501f4becbf9fb86970232cd2e2f3576a3437830 100644 (file)
@@ -345,7 +345,7 @@ python () {
     pnr = pn.replace('+', "\+")
     if commercial_license and re.search(pnr, commercial_license):
         bb.debug(1, "Skipping %s because it's commercially licensed" % pn)
-        raise bb.parse.SkipPackage("because it requires commercial license to ship product")
+        raise bb.parse.SkipPackage("because it may require a commercial license to ship in a product (listed in COMMERCIAL_LICENSE)")
 
     # If we're building a target package we need to use fakeroot (pseudo)
     # in order to capture permissions, owners, groups and special files