aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2021-09-01 08:44:56 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-03 09:03:36 +0100
commitd41018311abf91899645b8f3160db540abdb5398 (patch)
treed90a14143551d34b8c28282606e50ddc8404da96
parentea077b1ff6a4ccd5241a085bf9a3f67011e0f7bf (diff)
downloadopenembedded-core-contrib-d41018311abf91899645b8f3160db540abdb5398.tar.gz
openembedded-core-contrib-d41018311abf91899645b8f3160db540abdb5398.tar.bz2
openembedded-core-contrib-d41018311abf91899645b8f3160db540abdb5398.zip
classes/create-spdx: Comment out placeholder license warning
We don't want this warning causing problems on the AB, so leave it comment out for now Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/create-spdx.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index 6af4181087..a590ab596a 100644
--- a/meta/classes/create-spdx.bbclass
+++ b/meta/classes/create-spdx.bbclass
@@ -88,7 +88,8 @@ def convert_license_to_spdx(lic, document, d):
if l == "PD":
add_extracted_license(spdx_license, l, "Software released to the public domain")
elif add_extracted_license(spdx_license, l, "This software is licensed under the %s license" % l):
- bb.warn("No SPDX License found for %s. Creating a place holder" % l)
+ pass
+ #bb.warn("No SPDX License found for %s. Creating a place holder" % l)
return spdx_license