mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 23:51:07 +02:00
As part of my image creation overhaul, I patched up this script to keep it alive. I made a couple of oversights in this, which broke recovery image generation. The call to update_partition_table had an incorrect arg and the order of operations inside the function was also incorrect (offsets were being calculated before the new partition table had been written). Lastly the call to copy the root FS to the new image was incorrect. BUG=chromium-os:34689 TEST=Run mod_image_for_recovery, verify root FS partition is mountable Change-Id: I5cc6f6f53284075bbdac8e57602aae86a15ee32e Reviewed-on: https://gerrit.chromium.org/gerrit/33872 Tested-by: Liam McLoughlin <lmcloughlin@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Liam McLoughlin <lmcloughlin@chromium.org>
Description
Languages
Shell
93.1%
Python
6.9%