flatcar-scripts/sdk_lib
Gilad Arnold 264f64d70b enter_chroot.sh: install /root/.boto symlink for sudoed invocations
Since sudo changes $HOME to /root, sudoed invocations of gsutil/boto
won't find the necessary credentials. This solves the problem by
installing a symlink at /root/.boto to the correct credentials file,
similar to how it's done for /home/$USER/.boto.

BUG=None
TEST=/root/.boto symlink created upon entering the chroot

Change-Id: I541556f836fa5d0b9708e5604218058401563fb3
Reviewed-on: https://gerrit.chromium.org/gerrit/32430
Reviewed-by: David James <davidjames@chromium.org>
Reviewed-by: Ryan Cui <rcui@chromium.org>
Commit-Ready: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
2012-09-07 12:07:34 -07:00
..
enter_chroot.sh enter_chroot.sh: install /root/.boto symlink for sudoed invocations 2012-09-07 12:07:34 -07:00
make_chroot.sh Force our umount w/in the chroot. 2012-09-06 10:34:33 -07:00
make_conf_util.sh Don't look in chroot-based paths outside the chroot, even in jest. 2012-06-07 12:07:41 -07:00