helper: Add better error messages if files too big for appliance root.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 27 May 2011 10:54:54 +0000 (11:54 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 27 May 2011 10:54:54 +0000 (11:54 +0100)
commit6ee123ac387c8b3b8b60418596b8d1bae99c5b01
tree2a0f5a31ab03e4a69e8c4a9f27d936532c5dd598
parent6ab9465001dfaa52edc5992ee71f2e9aecc2085d
helper: Add better error messages if files too big for appliance root.

The appliance root was 1GB.  However the error message you got
if you overran this space was very obscure:

  febootstrap-supermin-helper: ext2fs_file_write:
  Could not allocate block in ext2 filesystem

This adds the name of the file that is failing, and replaces the error
message with something more meaningful.
helper/ext2.c
helper/ext2cpio.c
helper/ext2internal.h