diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2014-05-07 15:09:56 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-05-07 15:09:56 +0300 |
commit | ac06ef5fe3cd59c9634e0eb9879ef8bcd23862c8 (patch) | |
tree | c401486028d8822bd47e4b8b3e78e81298b9b936 | |
parent | fb93f43c0ab9363902bcc94b34584dc44e9e7c04 (diff) |
install trusty schroot if not already there
-rw-r--r-- | jenkins/xen-base | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jenkins/xen-base b/jenkins/xen-base index 1cdc0a6..5fd7686 100644 --- a/jenkins/xen-base +++ b/jenkins/xen-base @@ -8,6 +8,13 @@ set -e rm -rf xen git clone -b master git://xenbits.xen.org/xen.git xen + +if ! dpkg -s trusty-crosschroot +then + wget -nc http://repo.linaro.org/ubuntu/linaro-overlay/pool/main/t/trusty-crosschroot/trusty-crosschroot_0.7.3-2_all.deb + sudo dpkg -i trusty-crosschroot_0.7.3-2_all.deb +fi + schroot -c trusty-amd64-sbuild --begin-session --session-name xen || schroot --recover-session -c xen schroot --run-session -c xen -u root -- dpkg --add-architecture ${arch} |