diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-04-28 13:58:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:30:56 +0100 |
commit | bfde62bdc03152a4d3d383512479b974fa867f94 (patch) | |
tree | 160ab04bd61131fda7893247e301e363e0473460 /scripts/lib/recipetool | |
parent | 182639ddc9cda85c896a54c1c64fd1fb145071a1 (diff) | |
download | openembedded-core-bfde62bdc03152a4d3d383512479b974fa867f94.tar.gz openembedded-core-bfde62bdc03152a4d3d383512479b974fa867f94.tar.bz2 openembedded-core-bfde62bdc03152a4d3d383512479b974fa867f94.zip |
wic: add sparse_copy API
In order to make wic images sparse sparse_copy function has been
copied from meta-ostro:
https://github.com/kad/meta-ostro/blob/master/meta-ostro/lib/image-dsk.py
This function uses filemap APIs to copy source sparse file into
destination file preserving sparseness.
The function has been modified to satisfy wic requirements:
parameter 'skip' has been added.
[YOCTO #9099]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool')
0 files changed, 0 insertions, 0 deletions