aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Christian Stewart <christian@paral.in>2020-12-23 11:35:01 +0800
committerGravatar Peter Korsgaard <peter@korsgaard.com>2021-01-05 20:43:24 +0100
commit7d7afdf58cedc4f8433ab37d8a686d7c197d227e (patch)
tree8c52acb7ef7466b1ab34777643801570d01cae45
parentdbdea2ed1ff7213421fb21469b31d52bb45dc9e8 (diff)
downloadbuildroot-7d7afdf58cedc4f8433ab37d8a686d7c197d227e.tar.gz
buildroot-7d7afdf58cedc4f8433ab37d8a686d7c197d227e.tar.bz2
package/tini: install docker-init symlink
This removes the warning that docker can't find docker-init in PATH. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 072af885c4afedf4f131563a755c532f8ad45650) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/tini/tini.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/tini/tini.mk b/package/tini/tini.mk
index 986e612a83..caa5e24b39 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.