armada-helm-toolkit: use dl_path instead of dl_hook
The "dl_path" is used to set the downloading information of the source tar ball of a package, and debrepack module can extract the tar ball by parsing the meta_data.yaml automatically, that is equal to "dl_hook" scripts. Test Plan: Pass: successfully build test Story: 2009221 Task: 43917 Signed-off-by: Yue Tao <yue.tao@windriver.com> Change-Id: Ie70517814a16852a9ab20495c2fc51622acd8e2f
This commit is contained in:
parent
722295007a
commit
e61db8ae7d
@ -1,20 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -x
|
|
||||||
|
|
||||||
PKG_BUILD_NAME=$1
|
|
||||||
PKG="openstack-helm-infra"
|
|
||||||
PKG_BUILD_ROOT=$(realpath `pwd`/${PKG_BUILD_NAME})
|
|
||||||
mkdir -p ${PKG_BUILD_ROOT}
|
|
||||||
pushd ${PKG_BUILD_ROOT}
|
|
||||||
|
|
||||||
# Local mirror workaround until CGCS_BASE mirror is supported.
|
|
||||||
STX_MIRROR=$(realpath "/import/mirrors/starlingx")
|
|
||||||
|
|
||||||
# Download armada-helm-toolkit helm source package.
|
|
||||||
ARMADA_HELM_TOOLKIT_PKG="openstack-helm-infra-c9d6676bf9a5aceb311dc31dadd07cba6a3d6392.tar.gz"
|
|
||||||
ARMADA_HELM_TOOLKIT_SRC_PATH=$(realpath ${STX_MIRROR}/downloads/${ARMADA_HELM_TOOLKIT_PKG})
|
|
||||||
cp ${ARMADA_HELM_TOOLKIT_SRC_PATH} ${PKG_BUILD_ROOT}
|
|
||||||
|
|
||||||
# Extract the armada tar file.
|
|
||||||
tar xfz ${ARMADA_HELM_TOOLKIT_PKG}
|
|
||||||
cp -pr ${PKG}/* ${PKG_BUILD_ROOT}
|
|
@ -1,7 +1,10 @@
|
|||||||
---
|
---
|
||||||
debname: armada-helm-toolkit
|
debname: armada-helm-toolkit
|
||||||
debver: 1.0-1
|
debver: 1.0-1
|
||||||
dl_hook: dl_hook
|
dl_path:
|
||||||
|
name: openstack-helm-infra-c9d6676bf9a5aceb311dc31dadd07cba6a3d6392.tar.gz
|
||||||
|
url: https://github.com/openstack/openstack-helm-infra/archive/c9d6676bf9a5aceb311dc31dadd07cba6a3d6392.tar.gz
|
||||||
|
md5sum: 6b4ad40b343c346ee54443337edd2be3
|
||||||
revision:
|
revision:
|
||||||
dist: $STX_DIST
|
dist: $STX_DIST
|
||||||
PKG_GITREVCOUNT: true
|
PKG_GITREVCOUNT: true
|
||||||
|
Loading…
Reference in New Issue
Block a user