diff mbox series

[1/2] dtc: update license checks

Message ID 20230223202509.32432-1-twoerner@gmail.com
State Accepted, archived
Commit aaab4ffb4b17b222d1914d0feab286c4000b17da
Headers show
Series [1/2] dtc: update license checks | expand

Commit Message

Trevor Woerner Feb. 23, 2023, 8:25 p.m. UTC
The dtc project is dual licensed, and includes the text of both licenses as
part of its sources as well as a README documenting its license situation.
Use these sources to verify the licensing, and to monitor if it changes,
rather than a copyright line in a source file.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 meta/recipes-kernel/dtc/dtc_1.7.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/dtc/dtc_1.7.0.bb b/meta/recipes-kernel/dtc/dtc_1.7.0.bb
index 0fc3eca00218..7d064ed127c1 100644
--- a/meta/recipes-kernel/dtc/dtc_1.7.0.bb
+++ b/meta/recipes-kernel/dtc/dtc_1.7.0.bb
@@ -5,7 +5,8 @@  SECTION = "bootloader"
 LICENSE = "GPL-2.0-only | BSD-2-Clause"
 
 LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://libfdt/libfdt.h;beginline=4;endline=7;md5=05bb357cfb75cae7d2b01d2ee8d76407"
+                    file://BSD-2-Clause;md5=5d6306d1b08f8df623178dfd81880927 \
+                    file://README.license;md5=a1eb22e37f09df5b5511b8a278992d0e"
 
 SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=main" 
 SRCREV = "039a99414e778332d8f9c04cbd3072e1dcc62798"