summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-05-23 15:43:18 +0300
committerRiku Voipio <riku.voipio@linaro.org>2014-05-23 15:43:18 +0300
commit493a3acfccdaa392b7bdb291dbabcc7545fd7645 (patch)
treeeba74a9239c9b061f120f6cbfd45c76baa429d89
parent4e22e00bd0f194491cf5db1d9e108bebc6f34b73 (diff)
downloadnova-master.tar.gz
go nativeHEADmaster
-rwxr-xr-xnova-pkg.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/nova-pkg.sh b/nova-pkg.sh
index 3c71e1f..50f2d3f 100755
--- a/nova-pkg.sh
+++ b/nova-pkg.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+distro=trusty
set -e
[ -z $WORKSPACE ] && WORKSPACE=`pwd`
@@ -12,17 +13,12 @@ git clone ${builder_repo}
./ubuntu-packaging-tools/jenkins-makesources nova-ci/nova-template
source_dsc=`cat nova.dsc`
-df -h
-./ubuntu-packaging-tools/jenkins-crossbuild ${source_dsc} amd64
+sbuild -s -A --host armhf --nolog -c ${distro}-armhf-sbuild -d $distro -j`getconf _NPROCESSORS_ONLN` $source_dsc
-for change in *.changes;
-do
- change_arch=`echo ${change}|sed -e 's/.*_//' -e 's/.changes//'`
-cat > ppa_parameters_${change_arch} << EOF
+cat > post_build_ppa_parameters << EOF
pkg_job_name=${JOB_NAME}
key_id=B86C70FE
-pkg_changes=${change}
+pkg_changes=`ls *.changes`
+pkg_url=${JOB_URL}/ws/
host_ppa=linaro-overlay
EOF
-done
-