]> code.ossystems Code Review - openembedded-core.git/commit
filemap: calculate dst size correctly
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 13 Jun 2017 11:22:05 +0000 (14:22 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jun 2017 09:18:21 +0000 (10:18 +0100)
commite6d709a6382e4b913612f597e66ad07b0e351d5f
treeb457a1dffc2476da113187112f020c2d32be705e
parent289b1767182982dfb6912e64481150697ba93e4d
filemap: calculate dst size correctly

Fixed calculation of the dst file size using skip, seek and
length parameters. Current code does it incorrectly which
causes sparse_copy API to create unnecessary big output files.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/filemap.py