]> code.ossystems Code Review - openembedded-core.git/commit
wic: fix partition size calculation
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 10 Sep 2015 12:38:03 +0000 (15:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Sep 2015 14:20:08 +0000 (15:20 +0100)
commit3703ecb4aa5267e6d7330e7978cc7c3bb2250ead
tree419a0b7c86627655728565f1ecfcc803c21288b8
parentbc056b69987bf54199d4452df8c4567dc23f32ae
wic: fix partition size calculation

It was wrongly assumed that part.size is meagured in Mb. In fact it's
in Kb, so there is no need to convert bitbake variable ROOTFS_SIZE as
it's also in Kb.

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