From 9f2dd136a9917ea61185f82e2567b6886f9eb640 Mon Sep 17 00:00:00 2001 From: Yue Tao Date: Wed, 17 Nov 2021 17:58:15 +0800 Subject: [PATCH] k8s-pod-recovery: use src_path instead of dl_hook The src_path points to the local source directory. Story: 2009101 Task: 43697 Signed-off-by: Yue Tao Change-Id: I869a5e0d9aefb88cae78856bbd076778b0b7f37f --- kubernetes/k8s-pod-recovery/debian/dl_hook | 10 ---------- kubernetes/k8s-pod-recovery/debian/meta_data.yaml | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100755 kubernetes/k8s-pod-recovery/debian/dl_hook diff --git a/kubernetes/k8s-pod-recovery/debian/dl_hook b/kubernetes/k8s-pod-recovery/debian/dl_hook deleted file mode 100755 index 13d8b2878..000000000 --- a/kubernetes/k8s-pod-recovery/debian/dl_hook +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -set -x - -PKG_BUILD_NAME=$1 -mkdir ${PKG_BUILD_NAME} - -FILES_SRC=$MY_REPO/stx/integ/kubernetes/k8s-pod-recovery/centos/files/* - -cp ${FILES_SRC} ${PKG_BUILD_NAME} diff --git a/kubernetes/k8s-pod-recovery/debian/meta_data.yaml b/kubernetes/k8s-pod-recovery/debian/meta_data.yaml index 38384c094..55eeca020 100644 --- a/kubernetes/k8s-pod-recovery/debian/meta_data.yaml +++ b/kubernetes/k8s-pod-recovery/debian/meta_data.yaml @@ -1,7 +1,7 @@ --- debname: k8s-pod-recovery debver: 1.0-1 -dl_hook: dl_hook +src_path: centos/files revision: dist: $STX_DIST PKG_GITREVCOUNT: true