Gaurav Shah d02793a5d7 cros_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

Review URL: http://codereview.chromium.org/5216003
2010-11-24 12:48:14 -08:00
2010-09-09 14:25:33 -07:00
2010-10-26 02:56:51 -07:00
2010-07-13 15:34:11 -07:00
2010-08-05 10:37:17 -07:00
2009-10-09 20:56:14 +00:00
2010-06-10 01:36:40 -07:00
Description
image build and composition scripts for Flatcar Container Linux
BSD-3-Clause 177 MiB
Languages
Shell 93%
Python 6.9%