diff options
| author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2023-07-14 12:49:02 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-19 19:37:38 +0100 |
| commit | d302b057079d639a205bf7e3ec91bc8d10a70ba7 (patch) | |
| tree | 551039dc95aa2114f4de1f8cd77ae9984dc8a8f6 | |
| parent | 07a65a3decc610b485e3eb7f36f8014f74d0f92a (diff) | |
| download | poky-d302b057079d639a205bf7e3ec91bc8d10a70ba7.tar.gz | |
shadow-sysroot: add license information
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.
(From OE-Core rev: 8c6f2e3feeb26abefb4136c56db6f3c0349acefb)
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>
| -rw-r--r-- | meta/recipes-extended/shadow/files/login.defs_shadow-sysroot | 1 | ||||
| -rw-r--r-- | meta/recipes-extended/shadow/shadow-sysroot_4.6.bb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/files/login.defs_shadow-sysroot b/meta/recipes-extended/shadow/files/login.defs_shadow-sysroot index 8a68dd341a..09df77d2e7 100644 --- a/meta/recipes-extended/shadow/files/login.defs_shadow-sysroot +++ b/meta/recipes-extended/shadow/files/login.defs_shadow-sysroot | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: BSD-3-Clause OR Artistic-1.0 | ||
| 1 | # | 2 | # |
| 2 | # /etc/login.defs - Configuration control definitions for the shadow package. | 3 | # /etc/login.defs - Configuration control definitions for the shadow package. |
| 3 | # | 4 | # |
diff --git a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb index e05fa237a2..6580bd9166 100644 --- a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb +++ b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb | |||
| @@ -3,7 +3,7 @@ HOMEPAGE = "http://github.com/shadow-maint/shadow" | |||
| 3 | BUGTRACKER = "http://github.com/shadow-maint/shadow/issues" | 3 | BUGTRACKER = "http://github.com/shadow-maint/shadow/issues" |
| 4 | SECTION = "base utils" | 4 | SECTION = "base utils" |
| 5 | LICENSE = "BSD-3-Clause | Artistic-1.0" | 5 | LICENSE = "BSD-3-Clause | Artistic-1.0" |
| 6 | LIC_FILES_CHKSUM = "file://login.defs_shadow-sysroot;md5=25e2f2de4dfc8f966ac5cdfce45cd7d5" | 6 | LIC_FILES_CHKSUM = "file://login.defs_shadow-sysroot;endline=1;md5=ceddfb61608e4db87012499555184aed" |
| 7 | 7 | ||
| 8 | DEPENDS = "base-passwd" | 8 | DEPENDS = "base-passwd" |
| 9 | 9 | ||
