From 36768a1920ef76966026392664fda9cdec22dc1a Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Tue, 20 Mar 2018 21:26:05 +0000 Subject: [PATCH] Update cri-tools and build critest into release tarball again. Signed-off-by: Lantao Liu --- hack/install/{install-crictl.sh => install-critools.sh} | 6 +++--- hack/install/install-deps.sh | 4 ++-- hack/test-cri.sh | 9 ++++++++- hack/utils.sh | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) rename hack/install/{install-crictl.sh => install-critools.sh} (90%) diff --git a/hack/install/install-crictl.sh b/hack/install/install-critools.sh similarity index 90% rename from hack/install/install-crictl.sh rename to hack/install/install-critools.sh index eeb358340..e58d69ae0 100755 --- a/hack/install/install-crictl.sh +++ b/hack/install/install-critools.sh @@ -19,7 +19,7 @@ set -o nounset set -o pipefail source $(dirname "${BASH_SOURCE[0]}")/utils.sh -CRICTL_DIR=${DESTDIR}/usr/local/bin +CRITOOL_DIR=${DESTDIR}/usr/local/bin CRICTL_CONFIG_DIR=${DESTDIR}/etc # Create a temporary GOPATH for crictl installation. @@ -29,8 +29,8 @@ GOPATH=${TMPGOPATH} #Install crictl checkout_repo ${CRITOOL_PKG} ${CRITOOL_VERSION} ${CRITOOL_REPO} cd ${GOPATH}/src/${CRITOOL_PKG} -make crictl -${SUDO} make install-crictl -e BINDIR=${CRICTL_DIR} GOPATH=${GOPATH} +make +${SUDO} make install -e BINDIR=${CRITOOL_DIR} GOPATH=${GOPATH} ${SUDO} mkdir -p ${CRICTL_CONFIG_DIR} ${SUDO} bash -c 'cat >'${CRICTL_CONFIG_DIR}'/crictl.yaml <