mirror of
https://git.yoctoproject.org/poky
synced 2026-02-28 12:29:40 +01:00
This recipe is just a single data file from shadow, but as we can't easily tell what license that specific file is under just copy the full license statement. (From OE-Core rev: f0e2f3b1f855ea6e184bd1d8d796279fedcbfa33) (From OE-Core rev: b4bd6c8a400a52fcd7b7e580cfee5b48f5756d1a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.1 KiB
BlitzBasic
35 lines
1.1 KiB
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;md5=25e2f2de4dfc8f966ac5cdfce45cd7d5"
|
|
|
|
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"
|
|
|
|
SRC_URI[md5sum] = "b8608d8294ac88974f27b20f991c0e79"
|
|
SRC_URI[sha256sum] = "633f5bb4ea0c88c55f3642c97f9d25cbef74f82e0b4cf8d54e7ad6f9f9caa778"
|
|
|
|
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
|