diff --git a/stx-platform-helm/debian/dl_hook b/stx-platform-helm/debian/dl_hook deleted file mode 100755 index a4bc13d..0000000 --- a/stx-platform-helm/debian/dl_hook +++ /dev/null @@ -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} diff --git a/stx-platform-helm/debian/meta_data.yaml b/stx-platform-helm/debian/meta_data.yaml index fc91723..bf506bb 100644 --- a/stx-platform-helm/debian/meta_data.yaml +++ b/stx-platform-helm/debian/meta_data.yaml @@ -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