Просмотр исходного кода

Move SWUpdate license checksum into swupdate.inc

Switch to newer license files and add own setup just for older release
(2020.11).

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 4 лет назад
Родитель
Сommit
0e17c1fabe

+ 4 - 4
recipes-support/swupdate/swupdate.inc

@@ -9,10 +9,10 @@ DEPENDS += "libconfig"
 LICENSE = "GPLv2+ & LGPLv2+ & MIT"
 LICENSE_${PN}-lua = "LGPLv2+"
 LICENSE_${PN}-www = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
-                    file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \
-                    file://Licenses/mit.txt;md5=838c366f69b72c5df05c96dff79b35f2 \
-                    file://Licenses/Exceptions;md5=5f205fe7a7f2b056b4fa42603fe2d63a"
+LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-only.txt;md5=4ee23c52855c222cba72583d301d2338 \
+                    file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c \
+                    file://LICENSES/MIT.txt;md5=838c366f69b72c5df05c96dff79b35f2 \
+                    file://LICENSES/BSD-3-Clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c"
 
 inherit cml1 update-rc.d systemd pkgconfig
 

+ 5 - 0
recipes-support/swupdate/swupdate_2020.11.bb

@@ -1,3 +1,8 @@
 require swupdate.inc
 
 SRCREV = "9763342203e32d58cbfed36550b3986b5cf0e52e"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
+                    file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \
+                    file://Licenses/mit.txt;md5=838c366f69b72c5df05c96dff79b35f2 \
+                    file://Licenses/Exceptions;md5=5f205fe7a7f2b056b4fa42603fe2d63a"

+ 1 - 5
recipes-support/swupdate/swupdate_2021.04.bb

@@ -2,8 +2,4 @@ require swupdate.inc
 
 SRCREV = "47a1246435fdb78fba15cc969596994130412956"
 
-LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-only.txt;md5=4ee23c52855c222cba72583d301d2338 \
-                    file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c \
-                    file://LICENSES/MIT.txt;md5=838c366f69b72c5df05c96dff79b35f2 \
-                    file://LICENSES/BSD-2-Clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \
-                    file://LICENSES/BSD-3-Clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c"
+LIC_FILES_CHKSUM += "file://LICENSES/BSD-2-Clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5"

+ 0 - 5
recipes-support/swupdate/swupdate_git.bb

@@ -4,8 +4,3 @@ DEFAULT_PREFERENCE = "-1"
 
 SRCREV ?= "95eef1d80fb2e379bbc042e4e22a797633d4b19d"
 PV = "2021.04+git${SRCPV}"
-
-LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-only.txt;md5=4ee23c52855c222cba72583d301d2338 \
-                    file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c \
-                    file://LICENSES/MIT.txt;md5=838c366f69b72c5df05c96dff79b35f2 \
-                    file://LICENSES/BSD-3-Clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c"