config/sysinv/sysinv-fpga-agent/debian/dl_hook
Charles Short 30c8c1423b Add debian package for sysinv-fpga-agent
Add debian packaging infrastructure for sysinv-fpga-agent
so we can create a debian packaging from it.

Also update the directory structure due to the limitations
of the STX tool. Update the centos build information to
reflect the new directory structure.

Story: 2009101
Task: 43089

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: Idd85bd198cfd44b08f545122d2a6210f24801008
2021-10-19 04:10:34 -04:00

12 lines
294 B
Bash
Executable File

#!/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}/config/sysinv/sysinv-fpga-agent)
mkdir ${PKG_BUILD_NAME}
pushd ${PKG_BUILD_NAME} || exit
cp -pr ${SRC}/{LICENSE,sysinv-*} ${PKG_BUILD_ROOT}/