set strip components to 0

pull/16765/head
Steven Powell 2023-06-28 13:39:47 -07:00
parent 03cb8cb016
commit c376927e70
2 changed files with 6 additions and 4 deletions

View File

@ -8,11 +8,12 @@ NERDCTL_BIN_AARCH64_VERSION = 1.4.0
NERDCTL_BIN_AARCH64_COMMIT = 7e8114a82da342cdbec9a518c5c6a1cce58105e9 NERDCTL_BIN_AARCH64_COMMIT = 7e8114a82da342cdbec9a518c5c6a1cce58105e9
NERDCTL_BIN_AARCH64_SITE = https://github.com/containerd/nerdctl/releases/download/v$(NERDCTL_BIN_AARCH64_VERSION) NERDCTL_BIN_AARCH64_SITE = https://github.com/containerd/nerdctl/releases/download/v$(NERDCTL_BIN_AARCH64_VERSION)
NERDCTL_BIN_AARCH64_SOURCE = nerdctl-$(NERDCTL_BIN_AARCH64_VERSION)-linux-arm64.tar.gz NERDCTL_BIN_AARCH64_SOURCE = nerdctl-$(NERDCTL_BIN_AARCH64_VERSION)-linux-arm64.tar.gz
NERDCTL_BIN_AARCH64_STRIP_COMPONENTS = 0
define NERDCTL_BIN_AARCH64_INSTALL_TARGET_CMDS define NERDCTL_BIN_AARCH64_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 \ $(INSTALL) -D -m 0755 \
$(NERDCTL_BIN_AARCH64_PKGDIR)/nerdctl \ $(@D)/nerdctl \
$(TARGET_DIR)/usr/bin $(TARGET_DIR)/usr/bin/nerdctl
endef endef
$(eval $(generic-package)) $(eval $(generic-package))

View File

@ -8,11 +8,12 @@ NERDCTL_BIN_VERSION = 1.4.0
NERDCTL_BIN_COMMIT = 7e8114a82da342cdbec9a518c5c6a1cce58105e9 NERDCTL_BIN_COMMIT = 7e8114a82da342cdbec9a518c5c6a1cce58105e9
NERDCTL_BIN_SITE = https://github.com/containerd/nerdctl/releases/download/v$(NERDCTL_BIN_VERSION) NERDCTL_BIN_SITE = https://github.com/containerd/nerdctl/releases/download/v$(NERDCTL_BIN_VERSION)
NERDCTL_BIN_SOURCE = nerdctl-$(NERDCTL_BIN_AARCH64_VERSION)-linux-amd64.tar.gz NERDCTL_BIN_SOURCE = nerdctl-$(NERDCTL_BIN_AARCH64_VERSION)-linux-amd64.tar.gz
NERDCTL_BIN_STRIP_COMPONENTS = 0
define NERDCTL_BIN_INSTALL_TARGET_CMDS define NERDCTL_BIN_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 \ $(INSTALL) -D -m 0755 \
$(NERDCTL_BIN_PKGDIR)/nerdctl \ $(@D)/nerdctl \
$(TARGET_DIR)/usr/bin $(TARGET_DIR)/usr/bin/nerdctl
endef endef
$(eval $(generic-package)) $(eval $(generic-package))