summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2012-09-27 14:55:08 +0200
committerMilo Casagrande <milo@ubuntu.com>2012-09-27 14:55:08 +0200
commit70bf2d579580eded5b9c4c08a66ee5cb99b04ee2 (patch)
treea0108f09827e0279bb6b3bdea1061f7e5bfe5793 /node
parent56134fcc11cbbb25684adee958568c58ea8b2ac6 (diff)
Fixed install function, need also python-linaro-image-tools.
Diffstat (limited to 'node')
-rwxr-xr-xnode/setup_lib13
1 files changed, 8 insertions, 5 deletions
diff --git a/node/setup_lib b/node/setup_lib
index 187ca71..6a179e7 100755
--- a/node/setup_lib
+++ b/node/setup_lib
@@ -45,15 +45,18 @@ git_config()
git config --system http.proxy http://ci.linaro.org:3128
}
-# Installs the correct linaro-image-tools version.
-# The deb file is taken from the ubuntu-build-production archive:
+# Installs the correct linaro-image-tools and python-linaro-image-tools
+# versions.
+# The deb files are taken from the ubuntu-build-production archive:
# https://launchpad.net/~linaro-infrastructure/+archive/ubuntu-build-production
install_lit()
{
VERSION='2012.09.1'
- DEB_FILE="linaro-image-tools_${VERSION}-0ubuntu1~linaro1_all.deb"
- wget "https://launchpad.net/~linaro-infrastructure/+archive/ubuntu-build-production/+files/${DEB_FILE}"
- dpkg -i ${DEB_FILE}
+ DOWNLOAD_URL="https://launchpad.net/~linaro-infrastructure/+archive/ubuntu-build-production/+files/"
+ LIT_DEB="linaro-image-tools_${VERSION}-0ubuntu1~linaro1_all.deb"
+ PYTHON_LIT="python-linaro-image-tools_${VERSION}-0ubuntu1~linaro1_all.deb"
+ wget "${DOWNLOAD_URL}${DEB_FILE}" && wget "${DOWNLOAD_URL}${PYTHON_LIT}"
+ dpkg -i ${DEB_FILE} ${PYTHON_LIT}
}
fifo_cleanup()