diff options
Diffstat (limited to 'packaging/deb/debuild.sh')
-rwxr-xr-x | packaging/deb/debuild.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/deb/debuild.sh b/packaging/deb/debuild.sh index 8da088d41..3327d1f10 100755 --- a/packaging/deb/debuild.sh +++ b/packaging/deb/debuild.sh @@ -8,9 +8,9 @@ PACKAGING_ROOT=${DIR}/honeycomb-${VERSION} # Copy and unpack the archive with vpp-integration distribution ARCHIVE_DIR=${DIR}/../../vpp-integration/minimal-distribution/target/ -ARCHIVE=${ARCHIVE_DIR}/vpp-integration-distribution-1.16.9-SNAPSHOT-hc.tar.gz +ARCHIVE=${ARCHIVE_DIR}/vpp-integration-distribution-${VERSION}-hc.tar.gz cp ${ARCHIVE} ${DIR} -ARCHIVE=${DIR}/vpp-integration-distribution-${VERSION}-SNAPSHOT-hc.tar.gz +ARCHIVE=${DIR}/vpp-integration-distribution-${VERSION}-hc.tar.gz tar -xf ${ARCHIVE} -C ${DIR}/ # Create packaging root @@ -18,7 +18,7 @@ rm -rf ${PACKAGING_ROOT} mkdir ${PACKAGING_ROOT} # Copy contents of tar.gz -mv ${DIR}/vpp-integration-distribution-${VERSION}-SNAPSHOT/ ${PACKAGING_ROOT}/ +mv ${DIR}/vpp-integration-distribution-${VERSION}/ ${PACKAGING_ROOT}/ cp -r ${DIR}/debian/ ${PACKAGING_ROOT} # Upstart configuration @@ -28,14 +28,14 @@ cp ${DIR}/honeycomb.conf ${PACKAGING_ROOT} cat <<EOT >> ${PACKAGING_ROOT}/debian/changelog honeycomb (${VERSION}-${RELEASE}) unstable; urgency=low - * Initial release + * Formal 1609 release -- mmarsale <mmarsale@cisco.com> Mon, 22 Aug 2016 09:41:37 +0200 EOT # Install instructions cat <<EOT >> ${PACKAGING_ROOT}/debian/install -vpp-integration-distribution-${VERSION}-SNAPSHOT/* /opt/honeycomb/ +vpp-integration-distribution-${VERSION}/* /opt/honeycomb/ honeycomb.conf /etc/init/ EOT |