]> code.ossystems Code Review - openembedded-core.git/commit
wic: call os.ftruncate instead of running truncate
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 2 Nov 2016 20:33:07 +0000 (22:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Nov 2016 23:35:23 +0000 (23:35 +0000)
commit1ba6101ceaee354816e690d44bc9a5dd8dcf4011
tree26c90bbabd1172997cc153d8f984f5ab033748fd
parentd2b7b3fca328449cd87997be7f897b59433a153d
wic: call os.ftruncate instead of running truncate

Replaced running of truncate utility with the standard library
call os.ftruncate

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/imager/direct.py
scripts/lib/wic/partition.py