image build and composition scripts for Flatcar Container Linux
Go to file
Bill Richardson 4364a2e679 Switch to GPT-format disk images.
This changes the disk image for both USB keys and hard-drive installs to use
the EFI GUID Partition Tables. This is a prequisite for booting with an EFI
BIOS. This change does not use the EFI Boot protocol; it still boots using
Legacy BIOS. The PMBR contains syslinux' gptmbr.bin, which searches the GPT
for a specified partition's GUID to boot.

I've tested it on my EeePC. The USB image works, chromeos-install works, and
the reimaged hard drive works. I have not yet tested the memento_updater.sh
script, but I wanted to start the review without waiting until it's all perfect.
I will also be refactoring build_gpt.sh and chromeos-install to share common
logic.

It's almost certain that all existing dogfood machines will need to be
reimaged from a USB key. We could probably figure out a way to upgrade
automatically, but not quickly or without risk.

In addition to the GPT formatting, the build_image script has changed to
emit a single usb.bin file. This can be copied directly onto a USB key and
booted. Installation of dev tools needs to happen with build_image, not
image_to_usb. I have not yet looked at the other image_to_* scripts.

Review URL: http://codereview.chromium.org/1100001
2010-03-30 14:17:34 -07:00
mod_for_test_scripts Set up for a backchannel Ethernet interface to be used in testing network configuration and connectivity. The second device, typically a USB Ethernet adapter, will not be managed by connman or visible to the UI. 2010-03-26 17:32:59 -04:00
archive_build.sh Add script to package hwqual release from buildbot artifacts. 2010-03-12 14:52:51 -08:00
archive_hwqual Add script to package hwqual release from buildbot artifacts. 2010-03-12 14:52:51 -08:00
autotest_lib.sh fix autotest scripts for board variants 2010-03-23 21:16:33 -07:00
bash_completion Add bash completion for flags for some build scripts. 2010-02-26 13:10:11 -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_autotest.sh Make build_autotest failure a bit more obvious. 2010-03-25 10:01:57 -07:00
build_gpt.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
build_image Switch to GPT-format disk images. 2010-03-30 14:17:34 -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
build_tests.sh Make --board mandatory in build_tests.sh. Also enable building with a default board. 2010-03-03 16:42:00 -08:00
check_deps Adding another special directory to check_deps script 2010-03-19 10:43:18 -07:00
chromeos_version.sh Created branch release_38. Update CHROMEOS_VERSION_BRANCH=39 2010-03-24 13:11:22 -07:00
chromeos-common.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
common.sh Make errors and warnings a bit more obvious. 2010-03-25 11:33:41 -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
enable_localaccount.sh Add local account support to make.conf.user 2010-03-01 20:06:08 -08:00
enter_chroot.sh Update enter_chroot.sh to exit with error messages when mount/unmount fails. 2010-03-23 15:19:43 -07:00
file_copy.py Changes to enable dev in stateful partition for usb and startup 2010-03-11 15:30:38 -08:00
get_latest_image.sh fixup autoupdate for new build system 2010-02-18 09:58:42 -08:00
image_to_live.sh Rename image_to_live and fix it so that it works with the new start_devserver. 2010-03-19 16:45:00 -07:00
image_to_usb.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
image_to_virtualbox.sh VMWare [1/2]: Fix vmware image generation. 2010-03-10 16:09:46 -08:00
image_to_vmware.sh VMWare [1/2]: Fix vmware image generation. 2010-03-10 16:09:46 -08: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
mk_arm_sd_image.py Start copying over source. 2009-10-09 20:56:14 +00:00
mk_memento_images.sh Don't sudo in mk_memento_images.sh 2009-10-26 22:58:45 +00:00
mod_image_for_test.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
remote_access.sh Make run_remote_test's use of ssh-agent more predictable. 2010-02-01 17:10:03 -08:00
run_remote_tests.sh Add -b option to run_remote_tests to build tests before running 2010-03-29 18:59:48 -07:00
run_tests.sh Update script for running unittests to work with new build system. 2010-03-02 13:17:44 -08:00
set_shared_user_password.sh Start copying over source. 2009-10-09 20:56:14 +00: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
start_devserver adds Devserver support for statically serving versioned updates. 2010-03-20 23:23:48 -07:00
sync_build_test.sh Update sbt to match hardcoded logic in mod_image_for_test 2010-03-18 16:20:06 -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.sh Start of script for entering tracker reports. 2009-11-18 23:35:51 +00:00