]> code.ossystems Code Review - openembedded-core.git/commit
wic/filemap: Fall back to standard copy when no way to get the block map
authorKevin Hao <kexin.hao@windriver.com>
Tue, 14 Jul 2020 00:53:23 +0000 (08:53 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 18 Jul 2020 10:06:27 +0000 (11:06 +0100)
commit7934ed49179242f15b413c0275040a3bb6b68876
tree39bbf80e4930ec301d6bfe66bd41a34f338fa6af
parent6513fd9302b9989f97fc9d95e76e06ad5d266774
wic/filemap: Fall back to standard copy when no way to get the block map

For some filesystems, such as aufs which may be used by docker container,
don't support either the SEEK_DATA/HOLE or FIEMAP to get the block
map. So add a FileNobmap class to fall back to standard copy when there
is no way to get the block map.

[Yocto #12988]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/filemap.py