Build and Install the chromiumos-build tool in the chroot

Review URL: http://codereview.chromium.org/491014
This commit is contained in:
Bill Richardson 2009-12-10 14:16:06 -08:00
parent 1b2e9a4bca
commit a08cfc57f8

View File

@ -182,6 +182,11 @@ in_chroot apt-get update
bash_chroot "export DEBIAN_FRONTEND=noninteractive LANG=C && \
apt-get --yes --force-yes install $COMPONENTS"
echo "Installing chromiumos-build tool..."
bash_chroot "cd $CHROOT_TRUNK_DIR/tools/chromiumos-build && \
debuild -us -uc && sudo dpkg -i ../*.deb"
# Clean up the chroot mounts
trap - EXIT
cleanup