aboutsummaryrefslogtreecommitdiff
This dir contains the bits for updating the raring-crosschroot package
used in the CI infra.

That crosschroot is made by debootstrapping plain raring, then:
installing build-essential in the chroot
installing the configchrootforarch script into /usr/local/bin
installing sbuild from linaro-overlay (which uses that script when
given suitable option)
adding /etc/apt/source.list.d/linaro-overlay.list file with deb and
deb-src lines for repo.l.o linaro-overlay
modify apt sources to specify which arches comes from ports.u.c and which
from archive.u.c
setting APT::Install-Suggests "0";and APT::Install-Recommends "0"; in
/etc/apt/apt.conf.d/30norecommends

No need to add keys - they are supplied by copying, by the build
system scripts

All this is packed up into a package containing
etc/schroot/chroot.d/raring-amd64-sbuild
srv/chroots/raring-cross-buildd.tgz

for now we just copy /srv/chroots/raring-cross-buildd.tgz as the 'golden' rootfs into 
raring-crosschroot/srv/chroots/raring-cross-buildd.tgz
This is not robust and should do the above every time.

bump version number in make-crosschroot-package script, then run it
(as sudo) to get 
raring-crosschroot_ver_all.deb

The script:
1 copies /srv/chroots/<suite>-cross-buildd.tgz into
<suite>-crosschroot/srv/chroots/<suite>-cross-buildd.tgz
2 makes sure everything is owned by root.
3 packs up into tarball
4 converts to deb with alien

manually import the deb into the repo with:
 reprepro includedeb precise ~buildd/repobits/crosschroots/raring-crosschroot<ver>.deb


Wookey  2013-10-25