Merge lp:~le-chi-thu/lava-deployment-tool/add-linaro-image-tools into lp:~linaro-validation/lava-deployment-tool/trunk

Proposed by Le Chi Thu
Status: Merged
Merged at revision: 179
Proposed branch: lp:~le-chi-thu/lava-deployment-tool/add-linaro-image-tools
Merge into: lp:~linaro-validation/lava-deployment-tool/trunk
Diff against target: 34 lines (+8/-3)
1 file modified
lava-deployment-tool (+8/-3)
To merge this branch: bzr merge lp:~le-chi-thu/lava-deployment-tool/add-linaro-image-tools
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Review via email: mp+103686@code.launchpad.net

Description of the change

Add installation of linaro image tools.

To post a comment you must log in.
Revision history for this message
Spring Zhang (qzhang) wrote :

26 sudo apt-get update
27 +
28 + echo "Add Linaro tools ppa"
29 + sudo apt-get install --yes python-software-properties
30 + sudo add-apt-repository --yes ppa:linaro-maintainers/tools
31 + sudo apt-get update
Can we arrange the two 'apt-get update' to one? by putting line 30 before 26.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lava-deployment-tool'
--- lava-deployment-tool 2012-04-25 08:02:22 +0000
+++ lava-deployment-tool 2012-04-26 13:01:32 +0000
@@ -39,12 +39,12 @@
39 # FIXME: Lucid is not supported39 # FIXME: Lucid is not supported
40 export LAVA_SUPPORTED=040 export LAVA_SUPPORTED=0
41 # Required system packages41 # Required system packages
42 LAVA_PKG_LIST="whiptail python-virtualenv python-pip git-core build-essential $LAVA_PYTHON-dev libxml2-dev apache2 apache2-dev postgresql rabbitmq-server mercurial"42 LAVA_PKG_LIST="whiptail python-virtualenv python-pip git-core build-essential $LAVA_PYTHON-dev libxml2-dev apache2 apache2-dev postgresql rabbitmq-server mercurial conmux linaro-image-tools"
43 ;;43 ;;
44 oneiric|precise)44 oneiric|precise)
45 export LAVA_PYTHON=python2.745 export LAVA_PYTHON=python2.7
46 export LAVA_SUPPORTED=146 export LAVA_SUPPORTED=1
47 LAVA_PKG_LIST="whiptail python-virtualenv python-pip git build-essential $LAVA_PYTHON-dev libxml2-dev apache2 apache2-dev postgresql rabbitmq-server mercurial"47 LAVA_PKG_LIST="whiptail python-virtualenv python-pip git build-essential $LAVA_PYTHON-dev libxml2-dev apache2 apache2-dev postgresql rabbitmq-server mercurial conmux linaro-image-tools"
48 ;;48 ;;
49 esac49 esac
50 ;;50 ;;
@@ -1056,9 +1056,14 @@
1056 echo1056 echo
1057 read -p "Type YES to continue: " RESPONSE1057 read -p "Type YES to continue: " RESPONSE
1058 test "$RESPONSE" = 'YES' || return1058 test "$RESPONSE" = 'YES' || return
1059 1059
1060 echo "Updating apt cache..."1060 echo "Updating apt cache..."
1061 sudo apt-get update1061 sudo apt-get update
1062
1063 echo "Add Linaro tools ppa"
1064 sudo apt-get install --yes python-software-properties
1065 sudo add-apt-repository --yes ppa:linaro-maintainers/tools
1066 sudo apt-get update
10621067
1063 echo "Installing english language pack, if needed"1068 echo "Installing english language pack, if needed"
1064 # XXX: I'm not 100% sure this is needed1069 # XXX: I'm not 100% sure this is needed

Subscribers

People subscribed via source and target branches