Add 6Wind quagga to ubuntu16.04 and centos7 images
[releng/builder.git] / packer / provision / java-builder.sh
index 9f3da56efa2ac25790cebdced4fbbd79bb52fdbc..6ef6dd271d4b29a95c1f5072782d9f06c3abcd3f 100644 (file)
@@ -73,3 +73,15 @@ unzip packer_0.12.2_linux_amd64.zip -d /usr/local/bin/
 # rename packer to avoid conflict with binary in cracklib
 mv /usr/local/bin/packer /usr/local/bin/packer.io
 
+#Check out 6Wind quagga with tag name '20170330', compile and install for router functionalities
+echo "Installing the Quagga..."
+mkdir -p /tmp/build_quagga
+cd /tmp/build_quagga
+git clone https://github.com/6WIND/zrpcd.git
+cd zrpcd
+git checkout 20170330
+chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
+/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t
+
+# Removing the build_quagga folder
+rm -rf /tmp/build_quagga/
\ No newline at end of file