mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Don't tell users that it's a bad idea to use gclient.
Users sometimes want to run gclient inside the chroot, so we shouldn't tell users that using it is a bad idea. The original reason why this message was added is historical: Originally, users had a newer version of SVN inside the chroot compared to on their workstation, so if you ran SVN inside the chroot it would permanently upgrade your working copy such that the version of SVN outside the chroot did not work with it anymore. This isn't a problem anymore, so we can remove the message. BUG=none TEST=Run remote trybot runs of chromiumos-sdk Change-Id: I7b82a5c94e29d5928f4bb296ae2d99cef397d365 Reviewed-on: https://gerrit.chromium.org/gerrit/36346 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: David James <davidjames@chromium.org> Tested-by: David James <davidjames@chromium.org>
This commit is contained in:
parent
18a9c2513a
commit
ea75b60a45
@ -298,13 +298,6 @@ EOF
|
||||
echo ". ~/trunk/src/scripts/bash_completion" \
|
||||
>> "$FLAGS_chroot/home/$USER/.bashrc"
|
||||
|
||||
# Warn if attempting to use source control commands inside the chroot.
|
||||
for NOUSE in svn gcl gclient
|
||||
do
|
||||
echo "alias $NOUSE='echo In the chroot, it is a bad idea to run $NOUSE'" \
|
||||
>> "$FLAGS_chroot/home/$USER/.bash_profile"
|
||||
done
|
||||
|
||||
if [[ "$USER" = "chrome-bot" ]]; then
|
||||
# Copy ssh keys, so chroot'd chrome-bot can scp files from chrome-web.
|
||||
cp -r ~/.ssh "$FLAGS_chroot/home/$USER/"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user