diff --git a/enter_chroot.sh b/enter_chroot.sh index 31734a9aed..a132cc2091 100755 --- a/enter_chroot.sh +++ b/enter_chroot.sh @@ -140,7 +140,7 @@ CHROOT_PASSTHRU="CHROMEOS_REVISION=$REVISION BUILDBOT_BUILD=$FLAGS_build_number # the source trunk for scripts that may need to print it (e.g. # build_image.sh). sudo chroot "$FLAGS_chroot" sudo -i -u $USER $CHROOT_PASSTHRU \ - EXTERNAL_TRUNK_PATH="${FLAGS_trunk}" "$@" + EXTERNAL_TRUNK_PATH="${FLAGS_trunk}" LANG=C "$@" # Remove trap and explicitly unmount trap - EXIT diff --git a/make_chroot.sh b/make_chroot.sh index d1b0be15c0..e4004d0187 100755 --- a/make_chroot.sh +++ b/make_chroot.sh @@ -166,9 +166,6 @@ sudo mount --bind "$GCLIENT_ROOT" "${FLAGS_chroot}$CHROOT_TRUNK_DIR" # Niceties for interactive logins ('enter_chroot.sh'); these are ignored # when specifying a command to enter_chroot.sh. -# Warn less when apt-get installing packqages -echo "export LANG=C" >> "$FLAGS_chroot/home/$USER/.bashrc" -chmod a+x "$FLAGS_chroot/home/$USER/.bashrc" # Automatically change to scripts directory echo "cd trunk/src/scripts" >> "$FLAGS_chroot/home/$USER/.profile"