mod_image_for_recovery: fix mkfs error minimizes stateful partition by sending an
'--adjust_part=<new_stateful_size>' into build_gpt_image. However, the
--adjust_part does not handled correctly in many part of the script,
especially inside mk_fs().

Fix this bug by skipping the redundant mk_fs() call.

BUG=chromium:1114569 -b sarien \
       --image chromiumos_test_image.bin \
       --kernel_image recovery_vmlinuz.image

Change-Id: Iab086f782ed3060aa85e16b8fdea5f4ae31f5397
Tested-by: Ting Shen <>
Auto-Submit: Ting Shen <>
Reviewed-by: Mike Frysinger <>
Commit-Queue: Ting Shen <>
2 files changed