summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/graph-tool
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-04-28 13:58:04 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-06 10:31:12 +0100
commitd03cbac7960c8f39019f2f428647e8100ddc5da0 (patch)
tree7015264912dc51b07ca6819dd25f0d48c547d97e /scripts/contrib/graph-tool
parente93254b482c09aba884160ea6fea3756702cb1e8 (diff)
downloadpoky-d03cbac7960c8f39019f2f428647e8100ddc5da0.tar.gz
wic: use truncate utility to create sparse files
Used truncate instead of dd to create wic images for the following reasons: - dd doesn't preserve sparseness - 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 always correct. In some cases it was writing one block to the file which makes it not 100% sparse. [YOCTO #9099] (From OE-Core rev: d2d0d18dfd3922411d856b98ab6ba5d64c9c1c9f) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/graph-tool')
0 files changed, 0 insertions, 0 deletions