]> code.ossystems Code Review - openembedded-core.git/commit
wic/filemap: handle FIGETBSZ failing
authorRoss Burton <ross.burton@intel.com>
Fri, 7 Jun 2019 11:05:02 +0000 (12:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Jun 2019 15:01:36 +0000 (16:01 +0100)
commit3757073726a00c5250556aae3d0daac76b88085e
tree4404d65b8ee4635ae5657220d004e0923581abfa
parent666f6192aaa9e847ad0d920a487b82d984b58d26
wic/filemap: handle FIGETBSZ failing

Some file systems don't support fetching the block size (notably the file system
Docker uses for containers), so handle the iotctl() failing and raise the
expected error.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/filemap.py