From d3be1d1d1d6fecf55507c4ea53d79c8134e7470f Mon Sep 17 00:00:00 2001 From: Yue Tao Date: Wed, 8 Dec 2021 17:11:35 +0800 Subject: [PATCH] nfv: update meta_data.yaml to remove dl_hook "src_files" replaces the "cp -pr ${SRC}/nfv-* ${PKG_BUILD_ROOT}/" of dl_hook. Test Plan: Pass: successfully build test Story: 2009101 Task: 43392 Signed-off-by: Yue Tao Change-Id: I7aaaba92f50bba2355a4e1766dac90eed745731b --- nfv/debian/dl_hook | 11 ----------- nfv/debian/meta_data.yaml | 10 +++++++++- 2 files changed, 9 insertions(+), 12 deletions(-) delete mode 100755 nfv/debian/dl_hook diff --git a/nfv/debian/dl_hook b/nfv/debian/dl_hook deleted file mode 100755 index fbb77cb2..00000000 --- a/nfv/debian/dl_hook +++ /dev/null @@ -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}/nfv/nfv) - -mkdir ${PKG_BUILD_NAME} -pushd ${PKG_BUILD_NAME} -cp -pr ${SRC}/nfv-* ${PKG_BUILD_ROOT}/ diff --git a/nfv/debian/meta_data.yaml b/nfv/debian/meta_data.yaml index ed863263..2c970c87 100644 --- a/nfv/debian/meta_data.yaml +++ b/nfv/debian/meta_data.yaml @@ -1,7 +1,15 @@ --- debname: nfv debver: 1.0 -dl_hook: dl_hook +src_path: null +src_files: + - nfv-client + - nfv-common + - nfv-debug-tools + - nfv-plugins + - nfv-tests + - nfv-tools + - nfv-vim revision: dist: $STX_DIST PKG_GITREVCOUNT: true