diff --git a/.github/workflows/build-cn10k.yml b/.github/workflows/build-cn10k.yml index 40f519d49..366400134 100644 --- a/.github/workflows/build-cn10k.yml +++ b/.github/workflows/build-cn10k.yml @@ -59,6 +59,7 @@ jobs: [ -s /tmp/tags ] && NIGHTLY=false || NIGHTLY=true echo "PKG_VERSION_NAME=`./src/scripts/version | awk -F '-' '{print $1}'`" >> "${PWD}/artifacts/env" echo "MRVL_PKG_VERSION=`cat MRVL_VERSION`" >> "${PWD}/artifacts/env" + echo "CPT_PKG_VERSION=`cat CPT_PKG_VERSION`" >> "${PWD}/artifacts/env" echo "DPDK_PKG_VERSION=`cat DPDK_VERSION | grep RELEASE_VERSION | awk -F'=' '{print $2}'`" >> "${PWD}/artifacts/env" echo "DPDK_BASE_PKG_VERSION=`cat DPDK_VERSION | grep BASE_VERSION | awk -F'=' '{print $2}' | awk -F'.' '{print $1"."$2}'`" >> "${PWD}/artifacts/env" echo "PKG_POSTFIX=${PKG_POSTFIX}" >> "${PWD}/artifacts/env" @@ -149,7 +150,7 @@ jobs: echo 'Package: vpp-'$PKG_VERSION_NAME'-cn10k'$PKG_POSTFIX >> DEBIAN/control echo 'Version: '$MRVL_PKG_VERSION >> DEBIAN/control echo "Maintainer: Jerin Jacob (jerinj@marvell.com)" >> DEBIAN/control - echo 'Depends: python3, python3-ply, dpdk-'$DPDK_BASE_PKG_VERSION'-cn10k (= '$DPDK_PKG_VERSION'), cpt-firmware-cn10k'${FW_PKG_POSTFIX}' (= '$MRVL_PKG_VERSION')' >> DEBIAN/control + echo 'Depends: python3, python3-ply, dpdk-'$DPDK_BASE_PKG_VERSION'-cn10k (= '$DPDK_PKG_VERSION'), cpt-firmware-cn10k'${FW_PKG_POSTFIX}' (= '$CPT_PKG_VERSION')' >> DEBIAN/control echo "Architecture: arm64" >> DEBIAN/control echo "Homepage: https://wiki.fd.io/view/VPP" >> DEBIAN/control echo "Description: Vector Packet Processing (VPP) for Octeon10" >> DEBIAN/control diff --git a/.github/workflows/build-cn9k.yml b/.github/workflows/build-cn9k.yml index e2e805c54..bf8164fc9 100644 --- a/.github/workflows/build-cn9k.yml +++ b/.github/workflows/build-cn9k.yml @@ -59,6 +59,7 @@ jobs: [ -s /tmp/tags ] && NIGHTLY=false || NIGHTLY=true echo "PKG_VERSION_NAME=`./src/scripts/version | awk -F '-' '{print $1}'`" >> "${PWD}/artifacts/env" echo "MRVL_PKG_VERSION=`cat MRVL_VERSION`" >> "${PWD}/artifacts/env" + echo "CPT_PKG_VERSION=`cat CPT_PKG_VERSION`" >> "${PWD}/artifacts/env" echo "DPDK_PKG_VERSION=`cat DPDK_VERSION | grep RELEASE_VERSION | awk -F'=' '{print $2}'`" >> "${PWD}/artifacts/env" echo "DPDK_BASE_PKG_VERSION=`cat DPDK_VERSION | grep BASE_VERSION | awk -F'=' '{print $2}' | awk -F'.' '{print $1"."$2}'`" >> "${PWD}/artifacts/env" echo "PKG_POSTFIX=${PKG_POSTFIX}" >> "${PWD}/artifacts/env" @@ -149,7 +150,7 @@ jobs: echo 'Package: vpp-'$PKG_VERSION_NAME'-cn9k'$PKG_POSTFIX >> DEBIAN/control echo 'Version: '$MRVL_PKG_VERSION >> DEBIAN/control echo "Maintainer: Jerin Jacob (jerinj@marvell.com)" >> DEBIAN/control - echo 'Depends: python3, python3-ply, dpdk-'$DPDK_BASE_PKG_VERSION'-cn9k (= '$DPDK_PKG_VERSION'), cpt-firmware-cn9k'${FW_PKG_POSTFIX}' (= '$MRVL_PKG_VERSION')' >> DEBIAN/control + echo 'Depends: python3, python3-ply, dpdk-'$DPDK_BASE_PKG_VERSION'-cn9k (= '$DPDK_PKG_VERSION'), cpt-firmware-cn9k'${FW_PKG_POSTFIX}' (= '$CPT_PKG_VERSION')' >> DEBIAN/control echo "Architecture: arm64" >> DEBIAN/control echo "Homepage: https://wiki.fd.io/view/VPP" >> DEBIAN/control echo "Description: Vector Packet Processing (VPP) for Octeon9" >> DEBIAN/control diff --git a/CPT_PKG_VERSION b/CPT_PKG_VERSION new file mode 100644 index 000000000..c6b958db8 --- /dev/null +++ b/CPT_PKG_VERSION @@ -0,0 +1 @@ +24.09.0 \ No newline at end of file