mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
With recent changes (transitioning to 64 bit x86 kernels and the 3.2 kernel) the factory install image EFI partition gets overflown, resulting in build failures. This change makes sure that factory shim image gets allocated twice the room for the EFI partition (32M). BUG=chromium-os:27639 TEST=manual run the following commands while in chroot: cd ~/trunk/src/scripts ./build_image --board=lumpy ./build_image --board=lumpy --replace --symlink=factory_shim --build_attempt=3 factory_install cd ~/trunk/src/build/images/lumpy/factory_shim ./unpack_partitions.sh factory_install_shim.bin ls -l part12 cd ~/trunk/src/build/images/lumpy/latest ./unpack_partitions.sh chromiumos_image.bin ls -l part12 . observe that in factory shim case the part_12 partition size is 33554432 bytes, and in the regular image case the part_12 partition size is 16777216 . try using the factory_shim USB stick in recovery mode, observe the system come up (did not have a server set up, so the full install process was not verified). Change-Id: Ibe001ec37c752dca90ec30ae056a67610e39a8fb Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/17907
Description
Languages
Shell
93.1%
Python
6.9%