patch-alarm: remove dl_hook
Replace dl_hook with "src_path" and "src_files" Test Plan: Pass: successfully build patch-alarm Pass: No difference comparing with the result of dl_hook Story: 2009101 Task: 43897 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Change-Id: I7f7a59271d5f290b6f6a8778984bc5d3176536cd
This commit is contained in:
parent
451378f1ad
commit
1fabc3b456
@ -1,13 +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}/update/patch-alarm)
|
|
||||||
|
|
||||||
mkdir ${PKG_BUILD_NAME}
|
|
||||||
|
|
||||||
# Copy source files from multiple locations to build root.
|
|
||||||
cp -pr ${SRC}/patch-alarm/* ${PKG_BUILD_ROOT}
|
|
||||||
cp -pr ${SRC}/scripts ${PKG_BUILD_ROOT}
|
|
@ -1,7 +1,9 @@
|
|||||||
---
|
---
|
||||||
debname: python3-patch-alarm
|
debname: python3-patch-alarm
|
||||||
debver: 1.0-1
|
debver: 1.0-1
|
||||||
dl_hook: dl_hook
|
src_path: patch-alarm
|
||||||
|
src_files:
|
||||||
|
- scripts
|
||||||
revision:
|
revision:
|
||||||
dist: $STX_DIST
|
dist: $STX_DIST
|
||||||
PKG_GITREVCOUNT: true
|
PKG_GITREVCOUNT: true
|
||||||
|
Loading…
Reference in New Issue
Block a user