stx-platform-helm: remove dl_hook

Replace dl_hook with "src_path" and "src_files"

Test Plan:

Pass: successfully build stx-platform-helm
Pass: No difference comparing with the result of dl_hook

Story: 2009101
Task: 43792

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Change-Id: I624cfb5ab184a8aadf0bbcfb17ed0fb69da09e2e
This commit is contained in:
Yue Tao 2022-01-19 16:49:18 +08:00 committed by Yue Tao
parent c499d4a8b3
commit cbb99beccb
2 changed files with 3 additions and 23 deletions

View File

@ -1,22 +0,0 @@
#!/bin/bash
set -x
PKG_BUILD_NAME=$1
PKG_BUILD_ROOT=$(realpath `pwd`/${PKG_BUILD_NAME})
PKG_DIR="stx-platform-helm"
STX_BASE=$(realpath ${MY_REPO}/stx)
SRC=$(realpath ${STX_BASE}/platform-armada-app/${PKG_DIR}/${PKG_DIR})
CHART_PKG="node-feature-discovery"
NFD_HELM_CHARTS=$(realpath ${STX_BASE}/helm-charts/${CHART_PKG}/${CHART_PKG}/helm-charts)
mkdir -p ${PKG_BUILD_ROOT}
# Copy node-feature-discovery helm charts to the build directory.
cp -pr ${NFD_HELM_CHARTS} ${PKG_BUILD_ROOT}
# Copy source files to the build directory.
cp -pr ${SRC}/files ${PKG_BUILD_ROOT}
cp -pr ${SRC}/helm-charts/* ${PKG_BUILD_ROOT}/helm-charts
cp -pr ${SRC}/manifests ${PKG_BUILD_ROOT}

View File

@ -1,7 +1,9 @@
---
debname: stx-platform-helm
debver: 1.0-1
dl_hook: dl_hook
src_path: stx-platform-helm
src_files:
- ${MY_REPO}/stx/helm-charts/node-feature-discovery/node-feature-discovery/helm-charts
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true