summaryrefslogtreecommitdiff
path: root/packages/owamp/build.sh
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-06-01 18:16:00 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-06-01 18:16:00 +0000
commit37bf9834ffe96c5886e9fe142164c922cf0d7715 (patch)
tree34f2fcbc80092e18376db323de6d5790cb939de1 /packages/owamp/build.sh
parente01283e75aaf21bc171b4aa791206b498380c1eb (diff)
downloadvyos-build-37bf9834ffe96c5886e9fe142164c922cf0d7715.tar.gz
vyos-build-37bf9834ffe96c5886e9fe142164c922cf0d7715.zip
docker: T4222: Add packages to build owamp client-server
Diffstat (limited to 'packages/owamp/build.sh')
-rwxr-xr-xpackages/owamp/build.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/owamp/build.sh b/packages/owamp/build.sh
new file mode 100755
index 00000000..8c99f02d
--- /dev/null
+++ b/packages/owamp/build.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -x
+CWD=$(pwd)
+set -e
+
+SRC=owamp
+
+if [ ! -d ${SRC} ]; then
+ echo "source directory does not exists, please 'git clone'"
+ exit 1
+fi
+
+cd ${SRC}
+echo "I: Retrieve version information from Git"
+# Build owamp-client owamp-server twamp-client twamp-server
+echo "I: Build VyOS owamp Packages"
+dpkg-buildpackage -us -uc -tc -b