sm: remove dl_hook

"src_files" to replace

cp -pr ${SRC}/{src,scripts,Makefile} ${PKG_BUILD_ROOT}/

Test Plan:
Pass: successfully build test

Story: 2009101
Task: 43703

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I66daa1fb19c1d007fdad45670f0c12bc7203e4bb
This commit is contained in:
Yue Tao 2021-12-09 12:09:58 +08:00
parent af5ad96527
commit a28242031e
2 changed files with 5 additions and 12 deletions

View File

@ -1,11 +0,0 @@
#!/bin/bash
set -x
PKG_BUILD_NAME=$1
PKG_BUILD_ROOT=$(realpath `pwd`/${PKG_BUILD_NAME})
STX_BASE=$(realpath ${MY_REPO}/stx)
SRC=$(realpath ${STX_BASE}/ha/service-mgmt/sm)
mkdir ${PKG_BUILD_NAME}
pushd ${PKG_BUILD_NAME}
cp -pr ${SRC}/{src,scripts,Makefile} ${PKG_BUILD_ROOT}/

View File

@ -1,7 +1,11 @@
---
debname: sm
debver: 1.0.0-1
dl_hook: dl_hook
src_path: null
src_files:
- Makefile
- scripts
- src
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true