Will Drewry 78992a33f4 build_image, build_kernel_image, update_bootloaders: fix up rootfs_verification
This change adds
- --rootfs_hash_pad to specify the MBs reserved for the pad
- the implementation of the above flag
- check if total fs size + pad size exceeds the partition size
- hash appending in make_image_bootable()

Fixes:
- a style for ROOT_FS_HASH usage
- bad mount|grep
- bad bash subst for root devices in all boot paths
- fixed a typo in the update_bootloaders table creation
- disables verified usb for now

Adding the padding argument ensures that the generated hash tree for the root filesystem is appended to the image.  Assuming the rootfs is _never_ mounted read-write
again, that hash tree will be valid and vboot will be able to proceed.

BUG=chromium-os:2693
TEST=manual build_image

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

Change-Id: I67d9b0f91cacdefa309c0cc2dd7fed1d2eddd7a7
2010-07-21 14:02:20 -05:00
2010-07-16 15:14:51 -07:00
2010-06-30 20:56:00 -07:00
2010-04-01 13:07:10 -07:00
2010-07-13 15:24:54 -07:00
2010-07-13 15:34:11 -07:00
2010-06-21 21:52:43 -07:00
2009-10-09 20:56:14 +00:00
2010-07-19 10:12:37 -07:00
2010-06-10 01:36:40 -07:00
Description
image build and composition scripts for Flatcar Container Linux
BSD-3-Clause 166 MiB
Languages
Shell 93.1%
Python 6.9%