Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Unified Diff: src/scripts/make_chroot.sh

Issue 491014: Build and Install the chromiumos-build tool in the chroot (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/make_chroot.sh
diff --git a/src/scripts/make_chroot.sh b/src/scripts/make_chroot.sh
index 63a5ad0240b15847d20fd8a850d87484af8fb5f7..0daa8857b67b1389edffb0b8f41e4c19deeaea1e 100755
--- a/src/scripts/make_chroot.sh
+++ b/src/scripts/make_chroot.sh
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698