[Buildroot] [git commit] package/tini: install docker-init symlink

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 31 13:45:11 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=072af885c4afedf4f131563a755c532f8ad45650
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This removes the warning that docker can't find docker-init in PATH.

Signed-off-by: Christian Stewart <christian at paral.in>
Signed-off-by: Tian Yuanhao <tianyuanhao at aliyun.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/tini/tini.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/tini/tini.mk b/package/tini/tini.mk
index 157477f8df..af4a3bcb5e 100644
--- a/package/tini/tini.mk
+++ b/package/tini/tini.mk
@@ -30,6 +30,7 @@ endef
 
 define TINI_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini
+	ln -sf tini $(TARGET_DIR)/usr/bin/docker-init
 endef
 
 # Tini's CMakeLists.txt is not suitable for Buildroot.


More information about the buildroot mailing list