image build and composition scripts for Flatcar Container Linux
Go to file
David James e8875485ea Update build_image to link to make.globals directly, instead of to directory.
The xorg-server ebuild creates /usr/share/portage on the rootfs partition. This
breaks build_image which wants to point the same directory at the stateful
partition.

To work around this we just link to make.globals directly. This workaround fixes
gmerge but doesn't address the problem that there might be more files inside
/usr/share/portage. A better fix should be addressed as part of
crosbug.com/11502

BUG=chromium-os:12441
TEST=Run build_image and verify /usr/share/portage/config/make.globals points to
     /usr/local/share/portage/config/make.globals and that the latter also
     exists.

Review URL: http://codereview.chromium.org/6583001

Change-Id: I52fd9d34bf29573fbf6ca013ba49d1c8608e066d
2011-02-23 15:24:14 -08:00
bin Revert "Add build flag for iterative vm testing." 2011-02-23 14:22:39 -08:00
bootperf-bin Enhancements to bootperf, based on recent user feedback. 2011-02-17 10:33:28 -08:00
lib scripts: use /sbin/ifconfig where appropriate 2011-02-19 00:36:23 +01:00
mod_for_factory_scripts crosutils: let factory test uses its own results folder 2011-02-16 18:37:03 +08:00
mod_for_test_scripts Revert "This change removes the autotest mount-specific change from the mod_for_test scripts as we no longer need executable /tmp or /home for autotest." 2011-01-12 14:36:51 -08:00
.gitignore ignore: tmp files and .pyc files 2010-09-09 14:25:33 -07:00
archive_build.sh Remove old logic ... and don't needlessly modifiy dev image. 2011-02-16 15:33:11 -08:00
archive_hwqual This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
bash_completion cros_workon: fix comments/messages to be consistent with new location 2011-02-05 11:42:19 -08: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_gpt.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
build_image Update build_image to link to make.globals directly, instead of to directory. 2011-02-23 15:24:14 -08:00
build_kernel_image.sh kernel build: use %U+1 for dm-verity booting 2011-02-23 13:26:50 -06: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
call_autoserv.py Added HWQual utility script - call_script.py 2011-01-27 16:19:55 -08:00
check_control_files.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
check_deps Add more exceptions to check_deps to allow usage of icedtea. 2010-05-13 11:06:51 -07:00
chromeos_blacklist Don't black list gconf since it's back in. 2011-01-25 14:44:52 -08:00
chromeos-common.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
clean_loopback_devices This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
common.sh Remove old logic ... and don't needlessly modifiy dev image. 2011-02-16 15:33:11 -08:00
create_esp.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
create_legacy_bootloader_templates.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08: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 This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08: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 This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08: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 Revert "cros_generate_update_payload: kill old style update image generation" 2011-02-04 23:44:15 +01:00
cros_mark_branch_as_stable This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
cros_run_unit_tests This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
cros_show_stacks This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
cros_workon This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08: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
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 This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08: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
enter_chroot.sh Make mount points before attempting to mount on them 2011-02-16 14:48:27 -05: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 Switching most of the logging to debug 2010-12-10 15:16:17 -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 crash whitelist for chromeos-wm: sig 6. 2011-02-16 14:33:06 -08:00
get_latest_image.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
get_package_list This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
gmergefs This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
image_hacks.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
image_to_live.sh scripts: use /sbin/ifconfig where appropriate 2011-02-19 00:36:23 +01:00
image_to_usb.sh Factored out the code to copy an image and modify it for test 2011-02-09 13:39:43 -08:00
image_to_virtualbox.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
image_to_vm.sh Update test harness to take in optional public and private keys to sign payloads. 2011-02-14 15:29:32 -08:00
inherit-review-settings-ok Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00
kernel_fetcher.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08: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 This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
make_factory_package.sh make_factory_package: allow calling from outside the chroot 2011-02-09 01:16:04 +01:00
mk_memento_images.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
mod_image_for_recovery.sh kernel build: use %U+1 for dm-verity booting 2011-02-23 13:26:50 -06:00
mod_image_for_test.sh Move check for image until we actually need it. 2011-02-17 12:42:22 -08:00
mount_gpt_image.sh Fix recent change which prevented mount_gpt_image from running outside chroot. 2011-02-02 20:30:14 -08:00
remote_access.sh Revert remote_access refactor. 2011-02-01 17:06:12 -08:00
resize_stateful_partition.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
run_remote_tests.sh run_remote_tests: create a symlink to the last test that completed 2011-02-18 14:04:18 -08: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 Move crypted passwd file to /etc in build_image. 2011-02-17 10:42:24 -08: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 This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
start_devserver Revert "start_devserver: update relative paths in command line flags" 2011-02-17 12:26:38 -08:00
sync_build_test.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08: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 This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
tracker.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
unit_test_black_list.txt unit tests: no need to black list AU's unit tests any more 2010-11-22 09:50:59 -08:00
update_bootloaders.sh kernel build: use %U+1 for dm-verity booting 2011-02-23 13:26:50 -06:00
update_kernel.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
upload_symbols This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
verify_rootfs_chksum.sh This starts to fix the scripts so that they load from /usr/lib/crosutils 2011-02-01 22:04:49 -08:00
WATCHLISTS Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00