Skip to content

Commit

Permalink
package/tini: install docker-init symlink if not exists
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <christian@paral.in>
  • Loading branch information
paralin committed Jul 19, 2020
1 parent 0cd427f commit f4dc6e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package/tini/tini.mk
Expand Up @@ -31,7 +31,9 @@ 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
if [ ! -f $(TARGET_DIR)/usr/bin/docker-init ]; then \
ln -sf /usr/bin/tini $(TARGET_DIR)/usr/bin/docker-init; \
fi
endef

# Tini's CMakeLists.txt is not suitable for Buildroot.
Expand Down

0 comments on commit f4dc6e2

Please sign in to comment.