summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create.py
diff options
context:
space:
mode:
authorLukas Funke <lukas.funke@weidmueller.com>2023-11-02 16:53:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-06 16:41:11 +0000
commitf7f304fa3eac4ac02b39497e6aa89217a55bd51d (patch)
tree72355f848c4261d7129d5f4b14d8f804cf3f880c /scripts/lib/recipetool/create.py
parentb2c07c250171f8c60c74cf7e682abc34556160a9 (diff)
downloadpoky-f7f304fa3eac4ac02b39497e6aa89217a55bd51d.tar.gz
recipetool: Ignore *.go files while scanning for licenses
(From OE-Core rev: 1765acc8bdc08e392daa8b77add8b4ce1a9e70b6) Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r--scripts/lib/recipetool/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index 143bc63e9d..293198d1c8 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -1212,7 +1212,7 @@ def guess_license(srctree, d):
1212 1212
1213 licenses = [] 1213 licenses = []
1214 licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*', '[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*', 'e[dp]l-v10'] 1214 licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*', '[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*', 'e[dp]l-v10']
1215 skip_extensions = (".html", ".js", ".json", ".svg", ".ts") 1215 skip_extensions = (".html", ".js", ".json", ".svg", ".ts", ".go")
1216 licfiles = [] 1216 licfiles = []
1217 for root, dirs, files in os.walk(srctree): 1217 for root, dirs, files in os.walk(srctree):
1218 for fn in files: 1218 for fn in files: