Comment 3 for bug 952403

Revision history for this message
Wookey (wookey) wrote : Re: [Bug 952403] Re: build failure caused by apt-get/dpkg calls

+++ Riku Voipio [2013-07-19 06:58 -0000]:
> Looking at package-and-publish-linux-linaro-test configuration, this
> looks still racy. The job runs dpkg outside chroot a few times, which
> could collide with other jobs.

I presume you mean this bit:
----
wget http://repo.linaro.org/ubuntu/linaro-tools/pool/main/r/raring-crosschroot/${chrootpackage}
sudo dpkg -i ${chrootpackage}
dpkg -l raring-crosschroot

wget http://ppa.launchpad.net/linaro-maintainers/tools/ubuntu/pool/main/s/sbuild/libsbuild-perl_0.64.0+repack1-1wook1_all.deb
wget http://ppa.launchpad.net/linaro-maintainers/tools/ubuntu/pool/main/s/sbuild/sbuild_0.64.0+repack1-1wook1_all.deb
sudo dpkg -i libsbuild-perl_0.64.0+repack1-1wook1_all.deb sbuild_0.64.0+repack1-1wook1_all.deb
dpkg -l sbuild libsbuild-perl
----

This just temporary code to test the chroot and latest sbuild. As soon
as those packages are installed in the standard image then that code
should be removed and all the (locking) dpkgness should happen inside the chroot

Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/