mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-08-21 08:22:00 +02:00

We also switch to _git and add PV to the recipe as we don't need to exactly track a tag. We drop patches that have been merged upstream. Bumping tini to version v0.19.0-15-g369448a, which comprises the following commits: 369448a Document TINI_KILL_PROCESS_GROUP environment variable 37ff361 Update README.md.in 924c4bd Support POSIX basename() from musl libc 7724cbe Update "ENV key value" format in README 071c715 chore: allow CMake though to 3.10 0b44d36 chore: bump minimum CMake to 2.8.12 a49fdd3 tini.c: a function declaration without a prototype is deprecated in all versions of C 378bbbc Update keyserver recommendation to Ubuntu b9f42a0 Indicate that -e can be repeated Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
32 lines
1000 B
BlitzBasic
32 lines
1000 B
BlitzBasic
HOMEPAGE = "http://github.com/krallin/tini"
|
|
SUMMARY = "Minimal init for containers"
|
|
DESCRIPTION = "Tini is the simplest init you could think of. All Tini does is \
|
|
spawn a single child (Tini is meant to be run in a container), and wait for \
|
|
it to exit all the while reaping zombies and performing signal forwarding. "
|
|
|
|
PV = "v0.19.0+git"
|
|
SRCREV = "369448a167e8b3da4ca5bca0b3307500c3371828"
|
|
SRC_URI = " \
|
|
git://github.com/krallin/tini.git;branch=master;protocol=https \
|
|
file://0001-Do-not-strip-the-output-binary-allow-yocto-to-do-thi.patch \
|
|
"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5"
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
# tini links with -static, so no PIE for us
|
|
SECURITY_CFLAGS:pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}"
|
|
|
|
inherit cmake
|
|
|
|
do_install() {
|
|
mkdir -p ${D}/${bindir}
|
|
install -m 0755 ${B}/tini-static ${D}/${bindir}/docker-init
|
|
}
|
|
|
|
# Tini is the currently the provider for docker-init
|
|
PROVIDES += "docker-init"
|
|
RPROVIDES:${PN} = "docker-init"
|