2 # This script is run from the top level scripts. You can rely on
3 # the following environment variables being set:
5 # $BMTARBALL - relative path to the release source tarball (bz2)
6 # $BMTARBASE - basename of the source tarball (bz2)
12 mkdir -p /tmp/bmchroots
17 function do_ubuntu() {
18 ./save.sh "/tmp/bmchroots/$1" "$2" "$3" \
19 ./chroot.sh cdfrey /var/chroot/$1 \
20 "$BMTARBALL make-deb.sh" \
21 /var/chroot/$1/home/cdfrey/barrychroot/bmbuild/results \
24 ./make-deb.sh "$BMTARBASE" \
30 # Build the Fedora RPM's
32 function do_fedora() {
33 ./save.sh "/tmp/bmchroots/$1" "$2" "$4" \
34 ./chroot.sh cdfrey "/var/chroot/$1" \
35 "$BMTARBALL make-bm-rpm.sh" \
36 /var/chroot/$1/home/cdfrey/rpmbuild/bmbuild/results \
43 /home/cdfrey/rpmbuild/bmbuild
48 # Ubuntu 8.04 has trouble building KDEPIM / akonadi-sync, so skip those
49 do_ubuntu ubuntu804 bmbuild/dists/ubuntu804/main/binary-i386 "" \
50 "touch deb-akonadi-latest deb-kdepim-0.2x && make -j2 debian-all"
51 do_ubuntu ubuntu1004 bmbuild/dists/ubuntu1004/main/binary-i386 "" \
54 bmbuild/dists/fedora14/i386/RPMS \
55 bmbuild/dists/fedora14/source-i386/SRPMS \
58 chown -R cdfrey:cdfrey bmbuild