image build and composition scripts for Flatcar Container Linux
Go to file
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
bin Move loman to chromite (proper location for it after all). 2012-08-22 18:34:43 -07:00
build_library build_image: dump debug info when target image is full 2012-09-05 18:32:27 -07:00
chroot_version_hooks.d Force our umount w/in the chroot. 2012-09-06 10:34:33 -07:00
lib VDisk size must also be changed to allot for large stateful partition. 2012-09-06 14:02:07 -07:00
mod_for_dbusspy Move enable-dbus-monitor to be a mod_for_dbusspy behavior 2012-03-21 12:23:48 -07:00
mod_for_factory_scripts Restore global_config.ini (necessary for autotests to run). 2012-07-23 02:18:20 -07:00
mod_for_test_scripts Faux-enable the sslkeylogfile use flag on test images 2012-07-31 11:59:25 -07:00
path-overrides Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
sdk_lib enter_chroot.sh: install /root/.boto symlink for sudoed invocations 2012-09-07 12:07:34 -07:00
.gitignore ignore cbuildbot_package.list file 2011-12-14 20:57:10 -08:00
archive_hwqual Use the archived full autotest tarball in archive_hwqual 2012-07-19 16:27:46 -07:00
bash_completion Trivial change to test the commit queue by cleaning up Copyright date in bash_history. 2011-09-01 18:48:39 -07:00
build_image Allow more room for factory shim rootfs 2012-09-05 16:38:01 -07:00
build_kernel_image.sh build_kernel_image: modify console, loglevel and quiet kernel options 2012-08-23 10:51:12 -07:00
build_packages Move chromeos-factory into mod_image_for_test 2012-08-28 13:38:19 -07:00
call_autoserv.py Added HWQual utility script - call_script.py 2011-01-27 16:19:55 -08:00
chromeos-common.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
clean_loopback_devices Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
common_bash_backtraces.sh fix up function style 2012-05-11 14:10:38 -07:00
common.sh Force our umount w/in the chroot. 2012-09-06 10:34:33 -07:00
cros_generate_breakpad_symbols setup DEFAULT_BOARD by default 2012-08-14 10:17:31 -07:00
cros_generate_stacks_bvt Simplify boilerplate common.sh code in src/scripts. 2012-07-12 10:55:37 -07:00
cros_run_unit_tests Remove testing utilities and fix symlinks. 2011-03-24 16:06:59 -07:00
cros_show_stacks setup DEFAULT_BOARD by default 2012-08-14 10:17:31 -07:00
cros_workon cros_workon: fix arguments passed to loman 2012-09-06 10:07:23 -07:00
enable_localaccount.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
exclude-list Create squashfs as the rootfs. 2011-08-26 13:04:29 -07:00
generate_test_report Remove testing utilities and fix symlinks. 2011-03-24 16:06:59 -07:00
get_latest_image.sh setup DEFAULT_BOARD by default 2012-08-14 10:17:31 -07:00
get_package_list setup DEFAULT_BOARD by default 2012-08-14 10:17:31 -07:00
image_to_live.sh Move some dev scripts into dev/host. 2011-03-23 14:34:53 -07:00
image_to_usb.sh Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
image_to_vm.sh Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
make_factory_package.sh crosutils: move factory setup scripts to ../platform/factory-utils/factory_setup 2011-11-08 23:09:11 -08:00
make_netboot.sh Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
mod_image_for_recovery.sh Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
mod_image_for_test.sh Move warning message for mod_image_for_test before actual library call. 2012-06-04 03:08:35 -07:00
mod_test_image_for_dbusspy.sh Simplify boilerplate common.sh code in src/scripts. 2012-07-12 10:55:37 -07:00
mod_test_image_for_pyauto.sh setup DEFAULT_BOARD by default 2012-08-14 10:17:31 -07:00
mount_gpt_image.sh Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
remote_access.sh Command-line override of default SSH connection timeout/attempts. 2012-08-29 16:51:03 -07:00
run_chroot_version_hooks Pass more proxy vars into the chroot, rework sudoers.d maintenance. 2012-08-24 13:26:03 -07:00
run_remote_tests.sh Remove testing utilities and fix symlinks. 2011-03-24 16:06:59 -07:00
serve_factory_packages.py crosutils: globally replace enter_chroot with cros_sdk 2011-08-19 15:35:32 -07:00
set_shared_user_password.sh Added password arg to set_shared_user_password.sh 2012-07-25 10:50:08 -07:00
setup_board setup_board: drop binutils from package.provided 2012-08-18 13:57:33 -07:00
sha256_partitions.sh sha256_partitions: script to easily sha256 partitions of a .bin file. 2011-08-11 10:00:12 -07:00
ssh_test.sh Simplify boilerplate common.sh code in src/scripts. 2012-07-12 10:55:37 -07:00
start_devserver Simplify boilerplate common.sh code in src/scripts. 2012-07-12 10:55:37 -07:00
update_bootloaders.sh Add a umount wrapper to suppress gvfsd/trashd breaking umount calls. 2012-09-05 00:00:43 -07:00
update_chroot update_chroot: fix clobbering of initial toolchain flags with --nousepkg 2012-08-22 19:09:20 -07:00
update_kernel.sh update_kernel: update syslinux before module copy 2012-08-17 07:18:41 -07:00
upload_symbols setup DEFAULT_BOARD by default 2012-08-14 10:17:31 -07:00
verify_rootfs_chksum.sh Simplify boilerplate common.sh code in src/scripts. 2012-07-12 10:55:37 -07:00