From 7e6f761878e3136f0c4a55d2d0c92b3e634a69c3 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Thu, 10 Oct 2024 15:29:11 +0200 Subject: [PATCH] package/tini: restore use as docker-init Commit 24cac9c4e6a36fd14b263a8eecf7ae7d58ab5a59 "system: add tini as init system" made BR2_PACKAGE_TINI depend on BR2_INIT_TINI. This is incorrect: tini is not only needed when building a container image using Buildroot, but also to run Docker containers on Buildroot systems using another another init system, if Docker is configured to provide an init process for the container (e.g. with "docker run --init"). The tini package already provides the "docker-init" symlink required for that. Example error without tini installed: $ docker run --rm -ti --init alpine docker: Error response from daemon: exec: "docker-init": executable file not found in $PATH. Signed-off-by: Fiona Klute (WIWA) Reviewed-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/tini/Config.in | 1 - 1 file changed, 1 deletion(-) diff --git a/package/tini/Config.in b/package/tini/Config.in index bca8ad8e96..719e1e1f22 100644 --- a/package/tini/Config.in +++ b/package/tini/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_TINI bool "tini" depends on BR2_USE_MMU # fork() - depends on BR2_INIT_TINI help tini is a simple but valid init binary to act as PID 1 for containers.