Migrate distributedcloud .deb from dl_hooks
Replace dl_hook with "src_path" and moves the 'files' folder outside of the 'centos' directory. Test Plan: 1. PASS - Successfully build distributedcloud package 2. PASS - Build an image and install it, checking if it includes the latest distributedcloud package. 3. PASS - Modify a source file, do a second subsequent build without using the clean option, install the image and verify that the build picks up the most recent .deb file by checking if the modification is present on the source file. Story: 2010512 Task: 47108 Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com> Change-Id: I0f82689298e203e3655ec47cb1ab7683f440908a
This commit is contained in:
parent
4b05f5dcc0
commit
b7f31ee6b6
@ -1,4 +1,4 @@
|
||||
SRC_DIR="."
|
||||
COPY_LIST="$FILES_BASE/*"
|
||||
COPY_LIST="$PKG_BASE/files/*"
|
||||
|
||||
TIS_PATCH_VER=PKG_GITREVCOUNT
|
||||
|
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
PKG_BUILD_NAME=$1
|
||||
PKG_BUILD_DIR=$(realpath `pwd`/${PKG_BUILD_NAME})
|
||||
|
||||
STX_BASE=$(realpath ${MY_REPO}/stx)
|
||||
PKG_BASE=$(realpath ${STX_BASE}/distributedcloud/distributedcloud)
|
||||
|
||||
mkdir ${PKG_BUILD_NAME}
|
||||
|
||||
cp -r ${PKG_BASE}/* ${PKG_BUILD_DIR}/
|
||||
|
||||
mkdir ${PKG_BUILD_DIR}/files
|
||||
cp ${PKG_BUILD_DIR}/centos/files/* ${PKG_BUILD_DIR}/files/
|
||||
|
||||
rm -rf ${PKG_BUILD_DIR}/centos
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
debname: distributedcloud
|
||||
debver: 1.0-1
|
||||
dl_hook: dl_hook
|
||||
src_path: .
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user