Re: [OE-core] [wic][PATCH 1/6] wic: use truncate utility to create sparse file

2016-04-28 Thread Ed Bartosh
Please, igrnore. I'll send updated patchset today. On Thu, Apr 28, 2016 at 10:14:52AM +0300, Ed Bartosh wrote: > Used truncate instead of dd to create wic image for the > following reasons: > - truncate syntax is much more clear > - dd requires additional calculations of the image size >in

[OE-core] [wic][PATCH 1/6] wic: use truncate utility to create sparse file

2016-04-28 Thread Ed Bartosh
Used truncate instead of dd to create wic image for the following reasons: - truncate syntax is much more clear - dd requires additional calculations of the image size in blocks - the way dd was used in the code is not entirely correct. It was still writing one block to the file, which