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 <yue.tao@windriver.com>
Change-Id: I869a5e0d9aefb88cae78856bbd076778b0b7f37f
This commit is contained in:
Yue Tao 2021-11-17 17:58:15 +08:00
parent 722295007a
commit 9f2dd136a9
2 changed files with 1 additions and 11 deletions

View File

@ -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}

View File

@ -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