[Buildroot] [PATCH 1/1] package/tini: install docker-init symlink

Tian Yuanhao tianyuanhao at aliyun.com
Wed Dec 23 03:35:01 UTC 2020


From: Christian Stewart <christian at paral.in>

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>
---
 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.
-- 
2.25.1



More information about the buildroot mailing list