image build and composition scripts for Flatcar Container Linux
Go to file
David James d9b6798de1 Handle race condition where mounts were unmounted from under our feet.
Mounts can sometimes be unmounted from under our feet. I'm not sure
what's causing this problem, but I can reproduce it both on gPrecise
and on our builders (chromiumos-sdk). I've confirmed this patch fixes
the problem.

BUG=chromium-os:35679
TEST=20 chromiumos-sdk trybot runs. Confirmed this code is executing
     and catching a race condition in the trybot runs.

Change-Id: Iff019e672e9124053ac62cf3017dba485a4989cb
Reviewed-on: https://gerrit.chromium.org/gerrit/36698
Tested-by: David James <davidjames@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: David James <davidjames@chromium.org>
2012-10-26 13:10:58 -07:00
bin Revert "Added enable_bootcache option to scripts" 2012-09-28 19:16:40 -07:00
build_library Fix factory install shim w/ legacy x86 boot. 2012-10-25 21:53:49 -07:00
chroot_version_hooks.d Force our umount w/in the chroot. 2012-09-06 10:34:33 -07:00
hooks/install Excluded ${D}usr/lib/debug/* files from hardened checks. 2012-10-24 20:15:53 -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 Deprecate for_test upstart jobs by building and installing test/dev init pkgs. 2012-09-18 11:10:29 -07:00
path-overrides umount wrapper: fix inverted logic 2012-09-12 22:32:18 -07:00
sdk_lib Don't tell users that it's a bad idea to use gclient. 2012-10-23 11:44:35 -07:00
.gitignore cros_sdk: Allow additional chroot mounts via .local_mounts file 2012-09-21 16:48:52 -07:00
archive_hwqual Don't depend on zip files in archive_hwqual (1 of 2). 2012-10-15 14:19:08 -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 Move board overlay calculation into chromite (part 3 of 5) 2012-10-23 08:52:03 -07:00
build_kernel_image.sh Revert "Added enable_bootcache option to scripts" 2012-09-28 19:16:40 -07:00
build_packages Deprecate for_test upstart jobs by building and installing test/dev init pkgs. 2012-09-18 11:10:29 -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 Handle race condition where mounts were unmounted from under our feet. 2012-10-26 13:10:58 -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 Ensure user has a chromium checkout before running chrome_set_ver. 2012-09-20 17:32:22 -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 Remove now redundant hybrid MBR option (this is handled by board scripts now) 2012-10-24 13:37:28 -07:00
image_to_vm.sh Fix up OEM partition during image build 2012-09-23 17:00:37 -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 build_library: move update_partition_table to common location 2012-10-04 15:15:49 -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
security_test_image security_test_image: new signer test script 2012-10-02 16:45:18 -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 Move board overlay calculation into chromite (part 3 of 5) 2012-10-23 08:52:03 -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: pass env vars to cros_setup_toolchain. 2012-09-24 11:36:40 -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