blob: 3c71e1ff7382ecf129c2d88dffb105eefb8bea04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/bash
set -e
[ -z $WORKSPACE ] && WORKSPACE=`pwd`
rm -rf *.changes *dsc *gz *xz *deb *bz2
builder_repo=http://git.linaro.org/git/ci/ubuntu-packaging-tools.git
rm -rf ubuntu-packaging-tools
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
for change in *.changes;
do
change_arch=`echo ${change}|sed -e 's/.*_//' -e 's/.changes//'`
cat > ppa_parameters_${change_arch} << EOF
pkg_job_name=${JOB_NAME}
key_id=B86C70FE
pkg_changes=${change}
host_ppa=linaro-overlay
EOF
done
|