[oe-commits] Paul Eggleton : base.bbclass: clarify COMMERCIAL_LICENSE skip reason

git version control git at git.openembedded.org
Wed Aug 24 01:34:32 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 463d1719cc627ef22089282acfe70d7fcb835419
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=463d1719cc627ef22089282acfe70d7fcb835419

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Tue Aug 23 16:51:07 2011 +0100

base.bbclass: clarify COMMERCIAL_LICENSE skip reason

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 at linux.intel.com>

---

 meta/classes/base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 4332d24..3501f4b 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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





More information about the Openembedded-commits mailing list