]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
go-helloworld: fix license stable/kirkstone-next
authorQuentin Schulz <quentin.schulz@cherry.de>
Tue, 12 Aug 2025 12:20:05 +0000 (14:20 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 12 Aug 2025 16:57:24 +0000 (09:57 -0700)
The example repo doesn't seem to have ever been under MIT to begin with
but rather Apache-2.0.

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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/go-examples/go-helloworld_0.1.bb

index 0055b32d602b4513eb9f98aa075ea47fb453d93e..5a9d138b9c9f93eb1a6fa6d89731f29be54308c7 100644 (file)
@@ -2,8 +2,8 @@ DESCRIPTION = "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 = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https"
 SRCREV = "787a929d5a0dfb8bbfcdd2c4a62e0fd89466113f"