Browse Source

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
changes/50/821150/1
Yue Tao 6 months ago
parent
commit
a28242031e
  1. 11
      service-mgmt/sm/debian/dl_hook
  2. 6
      service-mgmt/sm/debian/meta_data.yaml

11
service-mgmt/sm/debian/dl_hook vendored

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

6
service-mgmt/sm/debian/meta_data.yaml vendored

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

Loading…
Cancel
Save