image build and composition scripts for Flatcar Container Linux
Go to file
Chris Sosa ed210b40ff Add new chrome revving module to crosutils.
Have subsequent review for cbuildbot that calls this for the pfq.

This module  has 3 modes ... TOT, latest_release, sticky_release that describe the three different types of revs for chrome we will be supporting.

For tot, we grab the latest svn revision # from the chrome src tree, and rev to the corresponding ebuild i.e. 9.0.553.0_alpha-r1 with CROS_SVN_COMMIT=svn revision number.

For latest_release, we grab the latest release from the releases page, and create an ebuild (or rev a previously existing on with same version) and use the release candidate suffix _rc.

For sticky_release, we use much of the same logic as latest_release, however, we specifically look to rev _rc's in the sticky branch.

This change depends on http://codereview.chromium.org/5172003 for the cros_mark_as_stable changes.

Change-Id: Idc1f4cd905cc1dcb4c44422f6104760077a24b8d

BUG=chromium-os:8693
TEST=Ran cros_mark_as_stable with --packages="chromeos-base/chromeos-chrome" --chrome_version=0.8.65.0 --chrome_revision=67890 commit.  Re-ran unit-tests as well (though thinking about adding another unit test for chrome revving)

Review URL: http://codereview.chromium.org/4798001
2010-11-19 14:01:11 -08:00
bin Add new chrome revving module to crosutils. 2010-11-19 14:01:11 -08:00
bootperf-bin Create bootperf-bin tools for running boot time tests and reporting results 2010-11-05 17:43:04 -07:00
chromite Code cleanup: comments, docstrings, and gpylint fixes. 2010-11-08 14:46:03 -08:00
lib cros_utils: refine factory and imaging related scripts 2010-11-18 14:47:38 +08:00
mod_for_factory_scripts cros_utils: refine factory and imaging related scripts 2010-11-18 14:47:38 +08:00
mod_for_test_scripts [crosutils] Remove test-image-specific change of core_pattern 2010-10-22 12:28:51 -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 Update prebuilt.py call to use the _proper_ variable for finding the build root. 2010-11-02 18:01:14 -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
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: honor USE flags from environment 2010-11-17 18:11:58 -08:00
build_kernel_image.sh Notes: 2010-10-26 02:56:51 -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_blacklist Add ability to blacklist packages from chromeos-base/chromeos. 2010-10-20 16:04:23 -07:00
chromeos_version.sh Created branch 0.9.122.B. Update CHROMEOS_VERSION_BRANCH=123 2010-11-18 23:19:51 -08: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 Adding a script to generate au-geneate.zip file 2010-11-11 17:46:53 -08: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.sh: ensure grub escapes quotes 2010-11-04 21:58:02 -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_stateful_update_payload Add new stateful upload payload generator to crosutils. 2010-11-10 17:31:51 -08:00
cros_generate_stateful_update_payload.py Don't allow hardlinks in tarball. 2010-11-12 15:20:27 -08:00
cros_generate_update_payload cros_generate_upload_payload --patch_kernel should mount from the source 2010-11-12 15:29:30 -08: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 The major change is refactoring to make functions more accessible for other modules. 2010-11-19 07:29:10 -08:00
cros_mark_as_stable.py The major change is refactoring to make functions more accessible for other modules. 2010-11-19 07:29:10 -08:00
cros_mark_branch_as_stable Update all ebuilds to point to a branch or tag. 2010-10-11 15:04:08 -07:00
cros_run_unit_tests crosutils: make cros_run_unit_tests prepare before building tests 2010-10-14 13:23:44 -07:00
cros_show_stacks crosutils: Require cros_show_stacks to run inside chroot 2010-11-10 16:42:43 -08:00
cros_upgrade_chroot upgrade_chroot: create an upgrade script 2010-09-24 16:23:29 -07:00
cros_workon Change "cros_workon list" to show packages for all boards. 2010-11-02 11:23:00 -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 passing CHROMEOS_RELEASE_APPID to the PASSTHRU list into chroot 2010-11-17 15:03:00 -08: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_au_zip.py Adding a script to generate au-geneate.zip file 2010-11-11 17:46:53 -08:00
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 Add direct flush calls to stderr / stdout. 2010-10-29 09:33:44 -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 Add ability to blacklist packages from chromeos-base/chromeos. 2010-10-20 16:04:23 -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 Add --payload option to take advantage of the new option for devserver. 2010-11-17 18:20:24 -08: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 [crosutils] bump default size of VM disk to allow for bigger stateful partition 2010-11-09 08:24:13 -08:00
inherit-review-settings-ok Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00
kernel_fetcher.sh kernel_fetcher.sh: use ro for rootfs.image 2010-10-20 18:58:05 -05: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_developer_script_runner.sh make_developer_script_runner.sh: fix using full-sized kernels 2010-11-03 16:45:54 -05:00
make_factory_package.sh cros_utils: refine factory and imaging related scripts 2010-11-18 14:47:38 +08: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 cros_utils: refine factory and imaging related scripts 2010-11-18 14:47:38 +08:00
mod_image_for_recovery.sh Set success=1 for the recovery kernel 2010-11-17 14:11:43 -08:00
mod_image_for_test.sh Add per board customization, clean up private autotests. 2010-11-17 16:50:02 -08:00
mount_gpt_image.sh Allow RO rootfs and writeable stateful. 2010-11-16 20:05:06 -08:00
parallel_emerge Retry in parallel_emerge for 5xx error codes. 2010-11-16 10:20:08 -08:00
prebuilt_unittest.py Fix for bug 8764 that breaks prebuilts for files with more than just keyword pairs. 2010-11-04 20:49:30 -07:00
prebuilt.py Add a RevGitWithRetry method to retry repo sync and git push 2010-11-16 10:00:07 -08:00
remote_access.sh Add port flag to remote_rsync_from 2010-11-15 14:11:49 -08:00
resize_stateful_partition.sh mod_image_for_recovery: supprt new recovery model 2010-11-01 17:34:14 -05: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 Remove the dependency to autotest_run.sh so I can get rid of it in next CL. 2010-11-19 10:43:47 -08:00
save_pinned_deps Add --allow-empty to the commit of the generated dep file. 2010-06-21 15:12:07 -07:00
serve_factory_packages.py Run devserver with --factory_config. Add --start_devserver flag. 2010-11-04 12:56:02 -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 crosutils: fix "umount: /tmp/XXX: not mounted" in build_image 2010-11-18 17:27:17 +08: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