~nchohan/appscale/zk3.3.4

« back to all changes in this revision

Viewing changes to debian/appscale_build.sh

  • Committer: Chris Bunch
  • Date: 2012-02-17 08:19:21 UTC
  • mfrom: (787.2.3 appscale-raj-merge)
  • Revision ID: cgb@cs.ucsb.edu-20120217081921-pakidyksaenlpzur
merged with main branch, gaining rabbitmq and upgrades for hbase, cassandra, and hypertable, as well as upgrading to gae 1.6.1 for python and go

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    add-apt-repository "deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu lucid main"
32
32
    add-apt-repository "deb-src http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu lucid main" 
33
33
    add-apt-repository "deb http://archive.canonical.com/ lucid partner"
 
34
 
 
35
    # For cassandra
 
36
    add-apt-repository "deb http://debian.datastax.com/lucid lucid main"
 
37
    wget -O - http://debian.datastax.com/debian/repo_key | sudo apt-key add -
 
38
    # For rabbitmq
 
39
    add-apt-repository "deb http://www.rabbitmq.com/debian/ testing main"
 
40
    wget -O - http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | sudo apt-key add -
 
41
 
34
42
fi
35
43
 
36
44
apt-get update
115
123
 
116
124
# for distro
117
125
PACKAGES=`find debian -regex ".*\/control\.[a-z]+\.${DIST}\$" -exec mawk -f debian/package-list.awk {} +`
118
 
apt-get install -y ${PACKAGES}
 
126
apt-get install -y --force-yes ${PACKAGES}
119
127
if [ $? -ne 0 ]; then
120
128
    echo "Fail to install depending packages for runtime."
121
129
    exit 1
122
130
fi
123
131
# for general
124
132
PACKAGES=`find debian -regex ".*\/control\.[a-z]+\$" -exec mawk -f debian/package-list.awk {} +`
125
 
apt-get install -y ${PACKAGES}
 
133
apt-get install -y --force-yes ${PACKAGES}
126
134
if [ $? -ne 0 ]; then
127
135
    echo "Fail to install depending packages for runtime."
128
136
    exit 1
131
139
 
132
140
# remove conflict package
133
141
apt-get -y purge haproxy
134
 
 
 
142
#apt-get -y remove consolekit
135
143
bash debian/appscale_install.sh all
136
144
if [ $? -ne 0 ]; then
137
145
    echo "Unable to complete AppScale installation."