summaryrefslogtreecommitdiffstats
path: root/build/packages/make_opencon-trail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/packages/make_opencon-trail.sh')
-rw-r--r--build/packages/make_opencon-trail.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/packages/make_opencon-trail.sh b/build/packages/make_opencon-trail.sh
new file mode 100644
index 00000000..0430c12a
--- /dev/null
+++ b/build/packages/make_opencon-trail.sh
@@ -0,0 +1,11 @@
+
+WORK_PATH=$(cd "$(dirname "$0")"/..; pwd)
+
+source $WORK_PATH/build/build.conf
+
+for i in open-contrail.tar.gz; do
+ curl --connect-timeout $TIMEOUT -o $WORK_PATH/work/repo/temp/$i $PACKAGE_URL/$i
+ tar -zxvf $WORK_PATH/work/repo/temp/$i -C $WORK_PATH/work/repo/packages
+done
+
+