diff options
author | Kalle Lampila <kalle.lampila@lempea.com> | 2019-12-31 17:10:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-02 16:39:13 +0000 |
commit | b14588a77842f41613bd251165cce5bc95a708ad (patch) | |
tree | 91ac142b3498dbddf3b907d449e9d5fb121beb3c /meta/recipes-bsp/u-boot | |
parent | ad803a3c7627b57dd3dd1654823582f17f13ceaf (diff) | |
download | poky-b14588a77842f41613bd251165cce5bc95a708ad.tar.gz |
wic/filemap: If FIGETBSZ iotctl fail, failback to os.stat
Some file systems don't support fetching the block size (notably the
file system Docker uses for containers), so if iotctl() fail, try to use
failback via os.stat() to get block size.
(From OE-Core rev: e219f5175177a640dd62833082ea19adc1c13d42)
Signed-off-by: Kalle lampila <kalle.lampila@lempea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot')
0 files changed, 0 insertions, 0 deletions