package/tini: move docker-init to /usr/libexec/docker/
The docker-init is not intended to be a user-facing command, and as such it is more appropriate for it to be found in /usr/libexec/ than in $PATH. See:6caaa8cadc
5a998af6f5
Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com> [yann.morin.1998@free.fr: use mkdir -p, not install -d] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
c4658ede71
commit
9705d30026
@ -31,7 +31,8 @@ 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
|
||||
mkdir -p $(TARGET_DIR)/usr/libexec/docker
|
||||
ln -sf ../../bin/tini $(TARGET_DIR)/usr/libexec/docker/docker-init
|
||||
endef
|
||||
|
||||
# Tini's CMakeLists.txt is not suitable for Buildroot.
|
||||
|
Loading…
Reference in New Issue
Block a user