浏览代码

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>
Christian Stewart 4 年之前
父节点
当前提交
7d7afdf58c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/tini/tini.mk

+ 1 - 0
package/tini/tini.mk

@@ -30,6 +30,7 @@ endef
 
 
 define TINI_INSTALL_TARGET_CMDS
 define TINI_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini
 	$(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini
+	ln -sf tini $(TARGET_DIR)/usr/bin/docker-init
 endef
 endef
 
 
 # Tini's CMakeLists.txt is not suitable for Buildroot.
 # Tini's CMakeLists.txt is not suitable for Buildroot.