]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
alsa-state: correct license
authorPeter Marko <peter.marko@siemens.com>
Mon, 11 Jul 2022 13:45:04 +0000 (15:45 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Jul 2022 11:52:48 +0000 (12:52 +0100)
* add GPL license because of alsa-state-init file
* gpl link points to gpl3, but at time of adding this file was actually
  pointing to gpl2, so should correspond to SPDX GPL-2.0-or-later
* remove date as the file was already changed several times since then

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/alsa-state/alsa-state.bb
meta/recipes-bsp/alsa-state/alsa-state/alsa-state-init

index df546633f1bd26ebd471d9a50207106b2b82636a..27b2eccbe42b56dc801f592e59430af7ac8b3280 100644 (file)
@@ -8,8 +8,11 @@ SUMMARY = "Alsa scenario files to enable alsa state restoration"
 HOMEPAGE = "http://www.alsa-project.org/"
 DESCRIPTION = "Alsa Scenario Files - an init script and state files to restore \
 sound state at system boot and save it at system shut down."
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+LICENSE = "MIT & GPL-2.0-or-later"
+LIC_FILES_CHKSUM = " \
+    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
+    file://alsa-state-init;beginline=3;endline=4;md5=3ff7ecbf534d7d503941abe8e268ef50 \
+"
 PV = "0.2.0"
 PR = "r5"
 
index eee59cb32140d9bdb8d3259ada094d0234ce0a2f..a04cc27004fa3f0180598687b4a66100b89ebd7e 100755 (executable)
@@ -1,10 +1,9 @@
 #! /bin/sh
 #
 # Copyright Matthias Hentges <devel@hentges.net> (c) 2007
-# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # Filename: alsa-state
-# Date: 20070308 (YMD)
 
 # source function library
 . /etc/init.d/functions