summaryrefslogtreecommitdiffstats
path: root/packaging/deb/debuild.sh
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-10-11 17:04:57 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-10-12 10:07:00 +0000
commit6ee01fd27fcd4af82cfcdbe77646dd1a83df12f2 (patch)
tree61f40ea489be47d13e31450b9f9324b489089804 /packaging/deb/debuild.sh
parentf3099e36fdf5c2d7cd747246865690984b8f074d (diff)
HONEYCOMB-217 Ubuntu16 (systemd) specific packaging
Change-Id: Id1c962412194dd809e68f27d7e62b5ab36378be3 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'packaging/deb/debuild.sh')
-rwxr-xr-xpackaging/deb/debuild.sh45
1 files changed, 0 insertions, 45 deletions
diff --git a/packaging/deb/debuild.sh b/packaging/deb/debuild.sh
deleted file mode 100755
index 38b9697f1..000000000
--- a/packaging/deb/debuild.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-set -xe
-DIR=$(dirname $0)
-DIR=$(readlink -f $DIR)
-VERSION=$(${DIR}/../rpm/version)
-RELEASE=$(${DIR}/../rpm/release)
-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.12-SNAPSHOT-hc.tar.gz
-cp ${ARCHIVE} ${DIR}
-ARCHIVE=${DIR}/vpp-integration-distribution-${VERSION}-SNAPSHOT-hc.tar.gz
-tar -xf ${ARCHIVE} -C ${DIR}/
-
-# Create packaging root
-rm -rf ${PACKAGING_ROOT}
-mkdir ${PACKAGING_ROOT}
-
-# Copy contents of tar.gz
-mv ${DIR}/vpp-integration-distribution-${VERSION}-SNAPSHOT/ ${PACKAGING_ROOT}/
-cp -r ${DIR}/debian/ ${PACKAGING_ROOT}
-
-# Upstart configuration
-cp ${DIR}/honeycomb.conf ${PACKAGING_ROOT}
-
-# Changelog file
-cat <<EOT >> ${PACKAGING_ROOT}/debian/changelog
-honeycomb (${VERSION}-${RELEASE}) unstable; urgency=low
-
- * Initial 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/
-honeycomb.conf /etc/init/
-EOT
-
-# Build deb binary only package
-cd ${PACKAGING_ROOT}
-dpkg-buildpackage -b
-cd - \ No newline at end of file