image build and composition scripts for Flatcar Container Linux
Go to file
Chris Sosa 020aa69f37 Fixes for cbuild to work with ctest.
1)  image_to_vm aborts because e2fschk requires a terminal to
be connected in order to check whether or not you want to repair the fs.  Since
we always want this to be true, set -p

2)  Clean up test harness to only verify the number of tests that passed on the
base image are the same on the update back to.  This is because older images
have many tests that fail.  I leave 10% as a reasonable number to pass.

3)  Redirect output from autotest in run_remote_tests to stderr so it gets
logged in a calling script that captures stdout.

Change-Id: If412274353683add20d136747113eb9c2bd41330

BUG=4690, 5533, 7287
TEST=Ran with internal tools for builders.

Review URL: http://codereview.chromium.org/3536018
2010-10-08 16:36:20 -07:00
bin Fixes for cbuild to work with ctest. 2010-10-08 16:36:20 -07:00
chromite First submission of prebuilt upload script. 2010-10-01 11:28:44 -07:00
lib Add a simple wrapper script around vm lib to start a vm. 2010-10-07 23:20:20 -07:00
mod_for_factory_scripts Remove GBB-populating script since we no longer prebuild GBB. 2010-10-07 02:28:59 +08:00
mod_for_test_scripts This uncomments a remount line in chromeos_startup that mounts /home as exec, allowing autotest to run. 2010-10-08 15:41:14 -07:00
upgrade.d upgrade_chroot: create an upgrade script 2010-09-24 16:23:29 -07:00
.gitignore ignore: tmp files and .pyc files 2010-09-09 14:25:33 -07:00
archive_build.sh Store away breakpad symbols in debug.tgz 2010-08-25 09:17:38 -07:00
archive_hwqual Move RunCommand, and Info/Warning/Die into common pylib 2010-08-30 11:05:50 -07:00
autotest Unblacklist graphics_WebGLConformance. 2010-08-25 17:29:05 -07:00
autotest_lib.sh fix autotest scripts for board variants 2010-03-23 21:16:33 -07:00
autotest_run.sh autotest_run: kill the destructive stuff that's pwning the autotest installation 2010-08-06 11:26:23 -07:00
autotest_workon autotest: create a candidate script for replacement ebuild test (running the tests) 2010-07-26 18:02:29 -07:00
bash_completion Update bash_completion to not use a temp file 2010-08-19 16:18:42 -07:00
binhost_clobber.py Adding in script to clobber build packages that shouldn't be cached. 2010-03-16 14:17:30 -07:00
build_autotest.sh autotest: unblacklist autotest ebuilds, stop cros_workon start'ing anything 2010-08-26 19:50:18 -07:00
build_gpt.sh build_image: Merge x86 and ARM where possible. 2010-09-30 14:20:34 -07:00
build_image build_image: fix verity defaults 2010-10-06 14:54:38 -05:00
build_kernel_image.sh make_image: Fake vmlinuz_hd.vblock on ARM. 2010-09-22 13:54:44 -07:00
build_packages Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
check_control_files.sh A simple script to check all control files for correctness. 2010-06-17 17:43:50 -07:00
check_deps Add more exceptions to check_deps to allow usage of icedtea. 2010-05-13 11:06:51 -07:00
chromeos_version.sh Created branch 0.9.78.B. Update CHROMEOS_VERSION_BRANCH=79 2010-10-06 16:45:14 -07:00
chromeos-common.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
clean_loopback_devices Adds a script to unmount any mount points in your boards image dir and free loopback devices 2010-04-29 14:05:30 -07:00
common.sh Filter more stuff from shim 2010-09-09 00:01:24 -07:00
create_esp.sh build_image: Merge x86 and ARM where possible. 2010-09-30 14:20:34 -07:00
create_legacy_bootloader_templates.sh create_legacy_bootloader_templates: re-enable chromeos-vusb with --enable-rootfs_verification 2010-07-23 12:33:57 -05:00
cros_deps_diff add cros_deps_diff tool that creates dependency graph diffs 2010-07-08 14:52:37 -07:00
cros_download_latest_image Make cros_download_latest_image echo its newline to stderr 2010-08-25 16:09:25 -07:00
cros_extract_deps cros_extract_deps -j writes JSON, sorted by package name. 2010-08-18 18:46:00 +02:00
cros_generate_breakpad_symbols Utility to generate minidump symbols for developer diagnostics 2010-08-12 17:03:47 -07:00
cros_generate_deps_graphs Refactor the dot graph generation out of cros_generate_deps_graphs 2010-07-01 13:41:25 -07:00
cros_generate_update_payload AU update generator script: support for new style full updates 2010-10-07 19:57:12 -07:00
cros_mark_all_as_stable cros_mark_all_as_stable: revert commit 868b777116 2010-09-22 12:59:43 -07:00
cros_mark_as_stable First cut at stable script 2010-07-13 15:34:11 -07:00
cros_mark_as_stable_blacklist autotest: unblacklist autotest ebuilds, stop cros_workon start'ing anything 2010-08-26 19:50:18 -07:00
cros_mark_as_stable_unittest.py Move RunCommand, and Info/Warning/Die into common pylib 2010-08-30 11:05:50 -07:00
cros_mark_as_stable.py Fix keywords issue 2010-09-08 15:03:06 -07:00
cros_run_unit_tests Allow src_test to require running src_configure step first 2010-08-27 14:37:10 -07:00
cros_show_stacks Script to generate post mortem of all crashes on device 2010-08-31 12:07:11 -07:00
cros_upgrade_chroot upgrade_chroot: create an upgrade script 2010-09-24 16:23:29 -07:00
cros_workon cros_workon: only touch local_manifest for minilayout users 2010-09-21 12:05:10 -07:00
customize_rootfs Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
debug_32bit.sh A pair of scripts to make it easier to run and debug 32 bit executables on 64 bit systems 2010-04-05 15:22:44 -07:00
dot_helper.py Refactor the dot graph generation out of cros_generate_deps_graphs 2010-07-01 13:41:25 -07:00
emit_gpt_scripts.sh Pack and unpack scripts switched to bash 2010-07-19 10:37:06 -07:00
enable_localaccount.sh build: Make enable_localaccount.sh skip outdated packages. 2010-08-19 18:04:46 -07:00
enter_chroot.sh Fix enter_chroot.sh so that it can be run from a cwd that is not in a git repository 2010-10-04 09:44:57 -04:00
file_copy.py Changes to enable dev in stateful partition for usb and startup 2010-03-11 15:30:38 -08:00
fixup_image_for_qemu.py Changes to use the postinst --esp-part-file flag; postinst fixups removed 2010-07-21 02:04:59 +05:30
generate_test_report Make generate_test_reports a symlink to the py file so it can be imported. 2010-07-09 10:46:53 -07:00
generate_test_report.py Move RunCommand, and Info/Warning/Die into common pylib 2010-08-30 11:05:50 -07:00
get_latest_image.sh Add board option to au test harness so that this works for others without a default board and add ability to reference images without relative paths. 2010-10-04 18:19:29 -07:00
get_package_list Adds a helper script to print out all package dependencies of a given package. 2010-05-10 17:50:33 -07:00
get_svn_repos.sh Enable get_svn_repos.sh to be run from src/scripts/. This script will be killed as soon as the autotest ebuild is fixed. 2010-07-15 15:19:04 -07:00
gflags.py Add gflags.py 2010-08-05 10:37:17 -07:00
gmergefs Fix modprobe prob in gmergefs and bring call script into scripts 2010-05-14 12:54:04 -07:00
image_hacks.sh chromite: initial version of image_hacks.sh 2010-09-16 19:14:40 -07:00
image_to_live.sh Fixes for cbuild to work with ctest. 2010-10-08 16:36:20 -07:00
image_to_usb.sh crosutils: refine image_to_usb progress output and performance 2010-10-08 10:35:10 +08:00
image_to_virtualbox.sh VMWare [1/2]: Fix vmware image generation. 2010-03-10 16:09:46 -08:00
image_to_vm.sh Fixes for cbuild to work with ctest. 2010-10-08 16:36:20 -07:00
inherit-review-settings-ok Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00
kernel_fetcher.sh Create a fourth partition to put the raw kernel image in. 2010-02-11 17:33:32 -08:00
list_installed_packages.sh Start copying over source. 2009-10-09 20:56:14 +00:00
make_chroot Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
make_factory_package.sh allow firmware fetch 2010-08-09 12:14:56 -07:00
make_relative_solution Create a tool to save a pinned dep file for the current sync. 2010-05-20 10:18:55 -07:00
mk_arm_sd_image.py Start copying over source. 2009-10-09 20:56:14 +00:00
mk_memento_images.sh Factory install: unbreak 2010-08-16 16:02:03 -07:00
mod_image_for_dev_recovery.sh Issue 6759: reduce size of stateful partition for non-developer recovery image 2010-10-08 15:22:51 -07:00
mod_image_for_recovery.sh Issue 6759: reduce size of stateful partition for non-developer recovery image 2010-10-08 15:22:51 -07:00
mod_image_for_test.sh Disable OEM partition mounting for test images. 2010-09-13 18:58:31 +04:00
mount_gpt_image.sh Add read only flag to mount_gpt_image 2010-09-28 18:24:13 -07:00
parallel_emerge Cleanup parallel_emerge exit conditions to fix hangs. 2010-10-06 11:05:29 -07:00
prebuilt_unittest.py Add an absolute path to gsutil that we will be using. 2010-10-07 12:53:32 -07:00
prebuilt.py Add an absolute path to gsutil that we will be using. 2010-10-07 12:53:32 -07:00
remote_access.sh Update scripts for vm's 2010-09-21 17:09:51 -07:00
resize_stateful_partition.sh Issue 6759: reduce size of stateful partition for non-developer recovery image 2010-10-08 15:22:51 -07:00
run_32bit.sh A pair of scripts to make it easier to run and debug 32 bit executables on 64 bit systems 2010-04-05 15:22:44 -07:00
run_remote_tests.sh Fixes for cbuild to work with ctest. 2010-10-08 16:36:20 -07:00
save_pinned_deps Add --allow-empty to the commit of the generated dep file. 2010-06-21 15:12:07 -07:00
set_shared_user_password.sh Added restart_in_chroot_if_needed to common.sh. 2010-05-04 16:54:28 -07:00
setup_board Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
ssh_test.sh Wrapper script for remote_access.sh library. Used by Autotest updater. 2010-06-22 14:36:26 -07:00
start_devserver remove update_engine flag from start_devserver 2010-07-12 15:22:53 -07:00
sync_build_test.sh Fix grab-buildbot in sync_build_test by gsdizing it 2010-09-30 13:05:56 -07:00
sysroot_wrapper Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
test_cookie_pipe.py Don't crash if the cookie pipe doesn't exist. 2009-11-13 19:17:31 +00:00
test_image Add test_image script for checking that dependencies in image are sane 2010-03-02 15:28:58 -08:00
tracker_spreadsheet_sync tracker/spreadsheet tool: Improve tracker to spreadsheet migration. 2010-04-20 16:28:37 -07:00
tracker.sh Start of script for entering tracker reports. 2009-11-18 23:35:51 +00:00
unit_test_black_list.txt Adding blacklist support for unit tests and blacklisting currently failing tests. 2010-06-22 17:19:15 -07:00
update_bootloaders.sh build_image: Merge x86 and ARM where possible. 2010-09-30 14:20:34 -07:00
upload_symbols crosutils: Detect sym_upload errors by its stdout instead of return value 2010-10-07 17:54:04 -07:00
verify_rootfs_chksum.sh Issue 6821: script to verify rootfs integrity against value stored in kernel 2010-09-21 10:04:32 -07:00
WATCHLISTS Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00