iota-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject incubator-iota git commit: adding Strongswan installation to the setup.
Date Fri, 10 Jun 2016 21:00:40 GMT
Repository: incubator-iota
Updated Branches:
  refs/heads/master da1db91f7 -> 2fabed85b


adding Strongswan installation to the setup.


Project: http://git-wip-us.apache.org/repos/asf/incubator-iota/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-iota/commit/2fabed85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-iota/tree/2fabed85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-iota/diff/2fabed85

Branch: refs/heads/master
Commit: 2fabed85b3c07bca060b66166b9cf6be4716f93d
Parents: da1db91
Author: dalir <amirhossein@litbit.com>
Authored: Fri Jun 10 14:00:26 2016 -0700
Committer: dalir <amirhossein@litbit.com>
Committed: Fri Jun 10 14:00:26 2016 -0700

----------------------------------------------------------------------
 iota_image_builder.sh   | 15 +++++++++++++++
 iota_x_image_builder.sh | 11 ++++++++++-
 2 files changed, 25 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/2fabed85/iota_image_builder.sh
----------------------------------------------------------------------
diff --git a/iota_image_builder.sh b/iota_image_builder.sh
index 0ff965e..a46f06d 100755
--- a/iota_image_builder.sh
+++ b/iota_image_builder.sh
@@ -810,6 +810,21 @@ else
     echo ""
 fi
 
+echo "====================================================="
+if [ "$resp_strongswan" = "" ] || [ "$resp_strongswan" = "y" ] || [ "$resp_strongswan" =
"yes" ];
+then
+    echo -n "Installing StrongSwan..."
+    chroot sdcard << EOF
+curl -L -O https://raw.github.com/philplckthun/setup-strong-strongswan/master/setup.sh
+./setup.sh
+rm setup.sh
+EOF
+    echo "[done]"
+else
+    echo "StrongSwan not installed"
+    echo "====================================================="
+    echo ""
+fi
 
 
 # wrap up

http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/2fabed85/iota_x_image_builder.sh
----------------------------------------------------------------------
diff --git a/iota_x_image_builder.sh b/iota_x_image_builder.sh
index 8c53c49..7044a11 100755
--- a/iota_x_image_builder.sh
+++ b/iota_x_image_builder.sh
@@ -371,7 +371,7 @@ function install_software() {
     chroot $R apt-get update
 
     printGreen "Install extra packages..."
-    chroot $R apt-get -y install htop nano avahi-utils vim git ntp openjdk-8-jdk
+    chroot $R apt-get -y install htop nano avahi-utils vim git ntp openjdk-8-jdk curl
 
     printGreen "Installing ZeroMQ..."
     chroot $R apt-get -y install libtool pkg-config build-essential autoconf automake
@@ -420,6 +420,15 @@ EOF
 export PATH=\$PATH:/opt/spark-1.6.1-bin-hadoop2.6/bin
 EOF
 
+    printGreen "Installing StrongSwan..."
+    chroot $R << EOF
+curl -L -O https://raw.github.com/philplckthun/setup-strong-strongswan/master/setup.sh
+./setup.sh
+rm setup.sh
+EOF
+
+
+
     printGreen "Install iota packages..."
 
 }


Mime
View raw message