Index: src/scripts/enter_chroot.sh |
diff --git a/src/scripts/enter_chroot.sh b/src/scripts/enter_chroot.sh |
index fa9b58a509b3756b8d1bc6f5d7fd4b71d52aebfc..3651598630d0578c0761771a48631e908a1e2abe 100755 |
--- a/src/scripts/enter_chroot.sh |
+++ b/src/scripts/enter_chroot.sh |
@@ -24,6 +24,8 @@ DEFINE_string build_number "" \ |
"The build-bot build number (when called by buildbot only)." "b" |
DEFINE_string chrome_root "" \ |
"The root of your chrome browser source. Should contain a 'src' subdir." |
+DEFINE_string chrome_root_mount "/home/$USER/chrome_root" \ |
+ "The mount point of the chrome broswer source in the chroot." |
DEFINE_boolean official_build $FLAGS_FALSE \ |
"Set CHROMEOS_OFFICIAL=1 for release builds." |
@@ -62,7 +64,7 @@ fi |
# TODO: replace shflags with something less error-prone, or contribute a fix. |
set -e |
-INNER_CHROME_ROOT="/home/$USER/chrome_root" # inside chroot |
+INNER_CHROME_ROOT=$FLAGS_chrome_root_mount # inside chroot |
CHROME_ROOT_CONFIG="/var/cache/chrome_root" # inside chroot |
INNER_DEPOT_TOOLS_ROOT="/home/$USER/depot_tools" # inside chroot |
FUSE_DEVICE="/dev/fuse" |