mirror of
https://git.yoctoproject.org/poky
synced 2026-02-27 20:09:41 +01:00
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: c9ab17b51834bff96657712a6741eb3e3647b063) 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> (cherry picked from commit 8c6f2e3feeb26abefb4136c56db6f3c0349acefb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
32 lines
1020 B
BlitzBasic
32 lines
1020 B
BlitzBasic
SUMMARY = "Shadow utils requirements for useradd.bbclass"
|
|
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;endline=1;md5=ceddfb61608e4db87012499555184aed"
|
|
|
|
DEPENDS = "base-passwd"
|
|
|
|
PR = "r3"
|
|
|
|
# The sole purpose of this recipe is to provide the /etc/login.defs
|
|
# file for the target sysroot - needed so the shadow-native utilities
|
|
# can add custom users/groups for recipes that use inherit useradd.
|
|
SRC_URI = "file://login.defs_shadow-sysroot"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}
|
|
install -p -m 644 ${S}/login.defs_shadow-sysroot ${D}${sysconfdir}/login.defs
|
|
}
|
|
|
|
SYSROOT_DIRS += "${sysconfdir}"
|
|
|
|
# don't create any packages
|
|
# otherwise: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot
|
|
# and this has another copy of /etc/login.defs already provided by shadow
|
|
PACKAGES = ""
|
|
|
|
inherit nopackages
|