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

Submitted by Paul Eggleton on Aug. 23, 2011, 10:32 p.m. | Patch ID: 10461


Message ID 67afbdbdca8b47638e5710d9de2961b1cae469e1.1314138692.git.paul.eggleton@linux.intel.com
State New, archived
Headers show

Commit Message

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

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 hide | download patch | download mbox

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