Skip to contentSkip to conversation

package/tini: install docker-init symlink

PATCH New Tian Yuanhao 3 participants 3 messages Dec 23, 2020 – Jan 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/tini: install docker-init symlink

From: Christian Stewart <[email protected]>

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

---
 package/tini/tini.mk | 1 +
 1 file changed, 1 insertion(+)
package/tini/tini.mk +1 -0
index 157477f8df..af4a3bcb5e 100644
@@ -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.
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/tini: install docker-init symlink

Quoted 9 lines · On Wed, 23 Dec 2020 11:35:01 +0800 Tian Yuanhao via buildroot…

From: Christian Stewart <[email protected]>

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

---
 package/tini/tini.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/tini: install docker-init symlink

In reply to Tian Yuanhao
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Tian" == Tian Yuanhao via buildroot <[email protected]> writes:

From: Christian Stewart <[email protected]>
This removes the warning that docker can't find docker-init in PATH.

Committed to 2020.02.x and 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard