Descriptioncros_make_image_bootable: Do a final sanity check on the rootfs by running e2fsck
This is a complement to the proposed fix for http://crosbug.com/9447, and I am getting it out first since it is a relatively simple change.
This change ensures that the rootfs on the image output by cros_make_image_bootable wasn't corrupted accidentally (for example, no boot.desc was provided and the defaults were incorrect for the image). This should catch rootfs errors that we end up discovering at delta AU time.
BUG=chromium-os:9578
TEST= Ran cros_make_image_bootable manually on an existing image with and without boot.desc. As expected, without boot.desc the output image rootfs had errors.
Also ran ./build_image - which worked fine too.
Change-Id: I4ed3a56634f37ab7d5ff2dc052ad607740356a40
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=d02793a
Patch Set 1 : new change #
Total comments: 6
Patch Set 2 : nit fixes #Patch Set 3 : fix typo #
Total comments: 4
Patch Set 4 : quoting #Messages
Total messages: 14 (0 generated)
|