mirror of
https://git.yoctoproject.org/poky
synced 2026-03-05 14:59:41 +01:00
Some of them were introduced by mass-removal of S = WORKDIR/git assignments;
rather than try to fix up (or redo) just these, I've run this sed command over
the whole tree:
sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc`
The rationale is that more than one empty line is wasting vertical screen space, and
does nothing for readability.
(From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
1011 B
BlitzBasic
30 lines
1011 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"
|
|
|
|
# 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 = "${UNPACKDIR}"
|
|
|
|
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
|