Browse Source

sm-common: 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: 43666

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I92428fcfdabfd779ea04a87ce29ffafa970166fc
changes/52/821152/1
Yue Tao 6 months ago
parent
commit
adcf2e1140
  1. 11
      service-mgmt/sm-common/debian/dl_hook
  2. 6
      service-mgmt/sm-common/debian/meta_data.yaml

11
service-mgmt/sm-common/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-common)
mkdir ${PKG_BUILD_NAME}
pushd ${PKG_BUILD_NAME}
cp -pr ${SRC}/{src,scripts,Makefile} ${PKG_BUILD_ROOT}/

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

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

Loading…
Cancel
Save