diff mbox series

[meta-swupdate,1/2] Move SWUpdate license checksum into swupdate.inc

Message ID 20211208132629.506564-1-sbabic@denx.de
State Changes Requested
Headers show
Series [meta-swupdate,1/2] Move SWUpdate license checksum into swupdate.inc | expand

Commit Message

Stefano Babic Dec. 8, 2021, 1:26 p.m. UTC
Switch to newer license files and add own setup just for older release
(2020.11).

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 recipes-support/swupdate/swupdate.inc        | 9 +++++----
 recipes-support/swupdate/swupdate_2020.11.bb | 5 +++++
 recipes-support/swupdate/swupdate_2021.04.bb | 6 +-----
 recipes-support/swupdate/swupdate_git.bb     | 5 -----
 4 files changed, 11 insertions(+), 14 deletions(-)
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index ff1f25c..fa548d6 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -9,10 +9,11 @@  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
 
diff --git a/recipes-support/swupdate/swupdate_2020.11.bb b/recipes-support/swupdate/swupdate_2020.11.bb
index 515ee88..f1a7538 100644
--- a/recipes-support/swupdate/swupdate_2020.11.bb
+++ b/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"
diff --git a/recipes-support/swupdate/swupdate_2021.04.bb b/recipes-support/swupdate/swupdate_2021.04.bb
index 2a21f7e..5e778b7 100644
--- a/recipes-support/swupdate/swupdate_2021.04.bb
+++ b/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"
diff --git a/recipes-support/swupdate/swupdate_git.bb b/recipes-support/swupdate/swupdate_git.bb
index b273738..5cf63fd 100644
--- a/recipes-support/swupdate/swupdate_git.bb
+++ b/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"