Patchwork [1/2] base.bbclass: clarify COMMERCIAL_LICENSE skip reason

login
register
mail settings
Submitter Paul Eggleton
Date Aug. 23, 2011, 10:32 p.m.
Message ID <67afbdbdca8b47638e5710d9de2961b1cae469e1.1314138692.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/10461/
State New, archived
Headers show

Comments

Paul Eggleton - Aug. 23, 2011, 10:32 p.m.
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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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