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

Unified Diff: src/scripts/make_chroot.sh

Issue 545169: Split the binary and source mirror defaults (Closed)
Patch Set: Created 10 years, 11 months 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 5bef9a1d5845a69442090c85a9e79461e4b46ceb..b2e8e85daddfa6474629c812b9c914bdcb0bc463 100755
--- a/src/scripts/make_chroot.sh
+++ b/src/scripts/make_chroot.sh
@@ -29,6 +29,8 @@ DEFINE_string suite "$DEFAULT_DEV_SUITE" \
"Ubuntu suite to use to create the development chroot."
DEFINE_string mirror "$DEFAULT_DEV_MIRROR" \
"Ubuntu mirror to use to create the development chroot."
+DEFINE_string mirror_src "$DEFAULT_DEV_MIRROR" \
+ "Ubuntu mirror to use to apt-get package sources."
DEFINE_string chroot "$DEFAULT_CHROOT_DIR" \
"Destination dir for the chroot environment."
DEFINE_string pkglist "$DEFAULT_PKGLIST" \
@@ -141,7 +143,7 @@ bash_chroot "echo deb $FLAGS_mirror $FLAGS_suite \
# Enable sources for upstream packages. Currently, kernel source is checked in
# and all other sources are pulled via DEPS files.
-bash_chroot "echo deb-src $FLAGS_mirror $FLAGS_suite \
+bash_chroot "echo deb-src $FLAGS_mirror_src $FLAGS_suite \
main restricted multiverse universe >> /etc/apt/sources.list"
# Set /etc/debian_chroot so '(chroot)' shows up in shell prompts
« 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