From 2898f7533510ffce8902e39598aea86008757709 Mon Sep 17 00:00:00 2001 From: Sean Parent Date: Tue, 25 May 2010 15:06:33 -0700 Subject: [PATCH] ACCESS DENIED workaround Added chrome_root_mount option to specify the mount point to work around a permissions issue. BUG=3464 TEST=none Review URL: http://codereview.chromium.org/2126011 --- enter_chroot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/enter_chroot.sh b/enter_chroot.sh index fa9b58a509..3651598630 100755 --- a/enter_chroot.sh +++ b/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"