crictl: use dl_path instead of dl_hook
Verification: successfully built package Story: 2009221 Task: 43782 Signed-off-by: Yue Tao <yue.tao@windriver.com> Change-Id: I3c55c26e90696d53ed37efe57454c68597571d00
This commit is contained in:
parent
c127046528
commit
7389fd42c8
@ -1,16 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
VERSION="v1.21.0"
|
||||
SOURCE=https://github.com/kubernetes-sigs/cri-tools/releases/download/$VERSION/crictl-$VERSION-linux-amd64.tar.gz
|
||||
PKG=crictl-$VERSION-linux-amd64.tar.gz
|
||||
|
||||
wget $SOURCE
|
||||
tar -zxvf $PKG
|
||||
rm -rf $PKG
|
||||
|
||||
PKG_BUILD_NAME=$1
|
||||
mkdir ${PKG_BUILD_NAME}
|
||||
mv crictl ${PKG_BUILD_NAME}
|
||||
|
||||
pushd ${PKG_BUILD_NAME}
|
@ -1,7 +1,10 @@
|
||||
---
|
||||
debname: crictl
|
||||
debver: 1.0-1
|
||||
dl_hook: dl_hook
|
||||
dl_path:
|
||||
name: crictl-v1.21.0-linux-amd64.tar.gz
|
||||
url: https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.21.0/crictl-v1.21.0-linux-amd64.tar.gz
|
||||
md5sum: 671e173f96f87aab18a4f9f8111cd4e6
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
||||
|
Loading…
Reference in New Issue
Block a user