mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
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
Description
Languages
Shell
93.1%
Python
6.9%