summaryrefslogtreecommitdiffstats
path: root/stacks/lwip_stack/vagrant/install_prereq.sh
diff options
context:
space:
mode:
authorsharath <sharathkumarboyanapally@gmail.com>2018-08-23 21:14:33 +0530
committersharath <sharathkumarboyanapally@gmail.com>2018-09-06 10:20:37 +0530
commitb8ad58fc06cef1af61a6dad31e71d4c15626f5f6 (patch)
treeb43dab9ce2db9cac9ef5ae3f60be3e78de219bf5 /stacks/lwip_stack/vagrant/install_prereq.sh
parent5686565ee3b379c590a1a09a05c92db50d206add (diff)
Fix: enhancing the build scripts
Change-Id: Ibc52debf304335e8a69b4d3d5c5f6478d654ab88 Signed-off-by: sharath <sharathkumarboyanapally@gmail.com>
Diffstat (limited to 'stacks/lwip_stack/vagrant/install_prereq.sh')
-rw-r--r--stacks/lwip_stack/vagrant/install_prereq.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/stacks/lwip_stack/vagrant/install_prereq.sh b/stacks/lwip_stack/vagrant/install_prereq.sh
deleted file mode 100644
index ae8d442..0000000
--- a/stacks/lwip_stack/vagrant/install_prereq.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash -x
-log_file="/DMM/thirdpary/stackpool/vagrant/pre_install_log.txt-`date +'%Y-%m-%d_%H-%M-%S'`"
-exec 1> >(tee -a "$log_file") 2>&1
-
-if [ "$(uname)" <> "Darwin" ]; then
- OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
- OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
-fi
-
-if [ "$OS_ID" == "ubuntu" ]; then
- # Standard update + upgrade dance
- cat << EOF >> /etc/apt/sources.list
- deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
- deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
- deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
- deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
- deb http://in.archive.ubuntu.com/ubuntu/ trusty universe
- deb-src http://in.archive.ubuntu.com/ubuntu/ trusty universe
- deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe
- deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe
- deb http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
- deb-src http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
- deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
- deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
- deb http://in.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
- deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
- deb http://security.ubuntu.com/ubuntu trusty-security main restricted
- deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
- deb http://security.ubuntu.com/ubuntu trusty-security universe
- deb-src http://security.ubuntu.com/ubuntu trusty-security universe
- deb http://security.ubuntu.com/ubuntu trusty-security multiverse
- deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
- deb http://extras.ubuntu.com/ubuntu trusty main
- deb-src http://extras.ubuntu.com/ubuntu trusty main
-EOF
-elif [ "$OS_ID" == "centos" ]; then
-
- echo centos
-fi