
Add debian packaging structure distributedcloud Test Plan: Pass: build package on Debian Pass: build Debian image Pass: install Debian image Pass: build package on CentOS Pass: build CentOS image Pass: install CentOS image Pass: CentOS controller unlocked/available Story: 2009101 Task: 44042 Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com> Change-Id: Ie777d4ec4db6b54e46092d43509ecef799fcebbe
19 lines
378 B
Bash
Executable File
19 lines
378 B
Bash
Executable File
#!/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
|