mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
enter_chroot: allow depot_tools to fail to mount
Review URL: http://codereview.chromium.org/601082
This commit is contained in:
parent
cbbb239570
commit
e8b6315eee
@ -122,7 +122,10 @@ function setup_env {
|
||||
echo "Mounting depot_tools"
|
||||
DEPOT_TOOLS=$(dirname $(which gclient) )
|
||||
mkdir -p "$MOUNTED_PATH"
|
||||
sudo mount --bind "$DEPOT_TOOLS" "$MOUNTED_PATH"
|
||||
if ! sudo mount --bind "$DEPOT_TOOLS" "$MOUNTED_PATH"; then
|
||||
echo "depot_tools failed to mount; perhaps it's on NFS?"
|
||||
echo "This may impact chromium build."
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
) 200>>"$LOCKFILE"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user