diff options
Diffstat (limited to 'recipes-containers/tini/tini_0.19.0.bb')
| -rw-r--r-- | recipes-containers/tini/tini_0.19.0.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-containers/tini/tini_0.19.0.bb b/recipes-containers/tini/tini_0.19.0.bb new file mode 100644 index 00000000..62e285df --- /dev/null +++ b/recipes-containers/tini/tini_0.19.0.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | HOMEPAGE = "http://github.com/krallin/tini" | ||
| 2 | SUMMARY = "Minimal init for containers" | ||
| 3 | DESCRIPTION = "Tini is the simplest init you could think of. All Tini does is \ | ||
| 4 | spawn a single child (Tini is meant to be run in a container), and wait for \ | ||
| 5 | it to exit all the while reaping zombies and performing signal forwarding. " | ||
| 6 | |||
| 7 | SRCREV = "b9f42a0e7bb46efea0c9e3d8610c96ab53b467f8" | ||
| 8 | SRC_URI = " \ | ||
| 9 | git://github.com/krallin/tini.git \ | ||
| 10 | file://0001-Do-not-strip-the-output-binary-allow-yocto-to-do-thi.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | LICENSE = "MIT" | ||
| 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | BBCLASSEXTEND = "native" | ||
| 19 | |||
| 20 | # tini links with -static, so no PIE for us | ||
| 21 | SECURITY_CFLAGS_pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" | ||
| 22 | |||
| 23 | inherit cmake | ||
| 24 | |||
| 25 | do_install() { | ||
| 26 | mkdir -p ${D}/${bindir} | ||
| 27 | install -m 0755 ${B}/tini-static ${D}/${bindir}/docker-init | ||
| 28 | } | ||
| 29 | |||
| 30 | # Tini is the currently the provider for docker-init | ||
| 31 | PROVIDES += "docker-init" | ||
| 32 | RPROVIDES_${PN} = "docker-init" | ||
