diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-28 12:52:24 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-28 12:55:57 +0300 |
commit | 0b2b9c506739c15ec4d31b0a1f74ed583a5e6134 (patch) | |
tree | e7000a8c046ae081e5785625b5a5a6624cba9c26 /ubi-utils/new-utils/include | |
parent | 487550498f70455f083cdc82b65442596fe7308e (diff) |
ubinize: fix static volumes generation
When static volumes is generated, the 'used_ebs' field of VID
header has to be calculated based on image file size, not on
the volume size. Fix this.
This patch also improves error reporting a little and re-arrages
the code so that all the validation is done in 'read_section()'
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils/include')
0 files changed, 0 insertions, 0 deletions