]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
shadow-sysroot: add license information
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Fri, 14 Jul 2023 10:49:02 +0000 (12:49 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jul 2023 18:37:35 +0000 (19:37 +0100)
Recipe references 'login.defs' in LIC_FILES_CHKSUM.  This causes some
problems:

- file does not contain a single word which is related with its license

- changing this file (here: increasing SYS_UID_MIN) invalidates
  LIC_FILES_CHKSUM

Add 'SPDX-License-Identifier' to the file and limit the checksum to
this part.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/files/login.defs_shadow-sysroot
meta/recipes-extended/shadow/shadow-sysroot_4.6.bb

index 8a68dd341a61cb1ed972db94e45c8555f6423491..09df77d2e75158a1c9e6f18e0e0777863ab0a9c1 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: BSD-3-Clause OR Artistic-1.0
 #
 # /etc/login.defs - Configuration control definitions for the shadow package.
 #
index e05fa237a2406777b859dc796fea85ba364bee64..6580bd9166443a93ecbb334d66932cc7537322df 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://github.com/shadow-maint/shadow"
 BUGTRACKER = "http://github.com/shadow-maint/shadow/issues"
 SECTION = "base utils"
 LICENSE = "BSD-3-Clause | Artistic-1.0"
-LIC_FILES_CHKSUM = "file://login.defs_shadow-sysroot;md5=25e2f2de4dfc8f966ac5cdfce45cd7d5"
+LIC_FILES_CHKSUM = "file://login.defs_shadow-sysroot;endline=1;md5=ceddfb61608e4db87012499555184aed"
 
 DEPENDS = "base-passwd"