diff mbox series

[scarthgap] go-helloworld: fix license

Message ID 20250812-go-helloworld-lic-scarthgap-v1-1-d3bdbc34e7f8@cherry.de
State Under Review
Delegated to: Steve Sakoman
Headers show
Series [scarthgap] go-helloworld: fix license | expand

Commit Message

Quentin Schulz Aug. 12, 2025, 10:46 a.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

The example repo doesn't seem to have ever been under MIT to begin with
but rather Apache-2.0. It was then changed to the license used by the
goland projectm that is BSD-3-Clause, 2 years ago in commit 00c7068f9d83
("all: update to Go license").

The license file exists in the sources, so use that one instead of
taking it from the OE-Core license directory.

License-Update: Incorrect license is now proper

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
This differs from master and walnascar[1] due to the recipe pointing to
SRCREV before changes to the LICENSE file in commit 39e772fc2670
("LICENSE: update per Google Legal").

[1] https://lore.kernel.org/openembedded-core/20250812-go-helloworld-lic-v1-1-07ce00a0f252@cherry.de/
---
 meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


---
base-commit: 6f7e929ea6ea557f107c8ccffea69a7d73439591
change-id: 20250812-go-helloworld-lic-scarthgap-88be83677923

Best regards,
diff mbox series

Patch

diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
index 98cd4d810335b037e9b58e22000ba63327cd64af..6f0214aa607819749ecb305b8dd2f972b5959d1b 100644
--- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
+++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
@@ -2,8 +2,8 @@  SUMMARY = "This is a simple example recipe that cross-compiles a Go program."
 SECTION = "examples"
 HOMEPAGE = "https://golang.org/"
 
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
 
 SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https"
 SRCREV = "d9923f6970e9ba7e0d23aa9448ead71ea57235ae"