diff options
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r-- | scripts/lib/recipetool/create.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 2b30385645..4788691cff 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -1099,6 +1099,10 @@ def crunch_license(licfile): | |||
1099 | crunched_md5sums['1daebd9491d1e8426900b4fa5a422814'] = 'LGPLv2.1' | 1099 | crunched_md5sums['1daebd9491d1e8426900b4fa5a422814'] = 'LGPLv2.1' |
1100 | # https://github.com/FFmpeg/FFmpeg/blob/master/COPYING.LGPLv3 | 1100 | # https://github.com/FFmpeg/FFmpeg/blob/master/COPYING.LGPLv3 |
1101 | crunched_md5sums['2ebfb3bb49b9a48a075cc1425e7f4129'] = 'LGPLv3' | 1101 | crunched_md5sums['2ebfb3bb49b9a48a075cc1425e7f4129'] = 'LGPLv3' |
1102 | # https://raw.githubusercontent.com/eclipse/mosquitto/v1.4.14/epl-v10 | ||
1103 | crunched_md5sums['efe2cb9a35826992b9df68224e3c2628'] = 'EPL-1.0' | ||
1104 | # https://raw.githubusercontent.com/eclipse/mosquitto/v1.4.14/edl-v10 | ||
1105 | crunched_md5sums['0a9c78c0a398d1bbce4a166757d60387'] = 'EDL-1.0' | ||
1102 | lictext = [] | 1106 | lictext = [] |
1103 | with open(licfile, 'r', errors='surrogateescape') as f: | 1107 | with open(licfile, 'r', errors='surrogateescape') as f: |
1104 | for line in f: | 1108 | for line in f: |
@@ -1131,7 +1135,7 @@ def guess_license(srctree, d): | |||
1131 | md5sums = get_license_md5sums(d) | 1135 | md5sums = get_license_md5sums(d) |
1132 | 1136 | ||
1133 | licenses = [] | 1137 | licenses = [] |
1134 | licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*', '[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*'] | 1138 | licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*', '[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*', 'e[dp]l-v10'] |
1135 | licfiles = [] | 1139 | licfiles = [] |
1136 | for root, dirs, files in os.walk(srctree): | 1140 | for root, dirs, files in os.walk(srctree): |
1137 | for fn in files: | 1141 | for fn in files: |