diff options
author | Dogukan Ergun <dogukan.ergun@gmail.com> | 2018-01-09 16:35:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 10:22:44 +0100 |
commit | 53d5f01d2dc34ac140f985aef0fbe0c407394a2c (patch) | |
tree | 98efc46282b6ddc35f02684b25bb25d082aa7a60 /scripts/buildhistory-diff | |
parent | 9ed1178c87afce997d5a21cadae7461fb6bb48da (diff) | |
download | poky-53d5f01d2dc34ac140f985aef0fbe0c407394a2c.tar.gz |
wic: if we can't get from ioctl, try from os.stat()
Under some conditions, ioctl FIGETBSZ can't return real value.
We can try to use fallback via os.stat() to get block size.
Source of patch:
https://github.com/intel/bmap-tools/commit/17365f4fe9089df7ee9800a2a0ced177ec4798a4
(From OE-Core rev: d8f7cf2d38934c248be91101236f7537d0d31ea7)
(From OE-Core rev: 4f528a93352c6301d57a9aaeb082d0cc313d91c3)
Signed-off-by: Dogukan Ergun <dogukan.ergun@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-diff')
0 files changed, 0 insertions, 0 deletions