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
1=== modified file 'lava-deployment-tool'
2--- lava-deployment-tool 2012-04-25 08:02:22 +0000
3+++ lava-deployment-tool 2012-04-26 13:01:32 +0000
4@@ -39,12 +39,12 @@
5 # FIXME: Lucid is not supported
6 export LAVA_SUPPORTED=0
7 # Required system packages
8- LAVA_PKG_LIST="whiptail python-virtualenv python-pip git-core build-essential $LAVA_PYTHON-dev libxml2-dev apache2 apache2-dev postgresql rabbitmq-server mercurial"
9+ 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"
10 ;;
11 oneiric|precise)
12 export LAVA_PYTHON=python2.7
13 export LAVA_SUPPORTED=1
14- LAVA_PKG_LIST="whiptail python-virtualenv python-pip git build-essential $LAVA_PYTHON-dev libxml2-dev apache2 apache2-dev postgresql rabbitmq-server mercurial"
15+ 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"
16 ;;
17 esac
18 ;;
19@@ -1056,9 +1056,14 @@
20 echo
21 read -p "Type YES to continue: " RESPONSE
22 test "$RESPONSE" = 'YES' || return
23-
24+
25 echo "Updating apt cache..."
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
32
33 echo "Installing english language pack, if needed"
34 # XXX: I'm not 100% sure this is needed

Subscribers

People subscribed via source and target branches