From f937c3c5e20e39e23cd7e4d699c7563391efafe5 Mon Sep 17 00:00:00 2001 From: Yue Tao Date: Thu, 9 Dec 2021 12:04:27 +0800 Subject: [PATCH] cgcs-patch: remove dl_hook "src_path" to replace -cp -aL $BASE_DIR/cgcs-patch $LOCAL_DIR "src_files" to replace -cp -aL $BASE_DIR/bin $LOCAL_DIR Test Plan: Pass: successfully build test Story: 2009101 Task: 43076 Signed-off-by: Yue Tao Change-Id: Ic8dbe89e3c1323c85f3d78a1e6c099c61d17dfb4 --- cgcs-patch/debian/dl_hook | 7 ------- cgcs-patch/debian/meta_data.yaml | 4 +++- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100755 cgcs-patch/debian/dl_hook diff --git a/cgcs-patch/debian/dl_hook b/cgcs-patch/debian/dl_hook deleted file mode 100755 index ea5d7d07..00000000 --- a/cgcs-patch/debian/dl_hook +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -set -x -LOCAL_DIR=$1 -PACKAGE_NAME=cgcs-patch -BASE_DIR=$MY_REPO/stx/update/cgcs-patch -cp -aL $BASE_DIR/cgcs-patch $LOCAL_DIR -cp -aL $BASE_DIR/bin $LOCAL_DIR diff --git a/cgcs-patch/debian/meta_data.yaml b/cgcs-patch/debian/meta_data.yaml index 847bba66..429944e6 100644 --- a/cgcs-patch/debian/meta_data.yaml +++ b/cgcs-patch/debian/meta_data.yaml @@ -1,7 +1,9 @@ --- debname: cgcs-patch debver: 1.0-1 -dl_hook: dl_hook +src_path: cgcs-patch +src_files: + - bin revision: dist: $STX_DIST PKG_GITREVCOUNT: true