Files
poky/scripts/lib/wic
Ed Bartosh 4031de53f4 wic: round variable before converting to int
Wic uses bitbake variable ROOTFS_SIZE to set correspondent
partition size. This variable is a literal representing
float value. Wic crashes trying to convert it to int with
the error: invalid literal for int() with base 10: '10166.0'

Fixed this by converting variable to float and rounding result.
This should work for int and float literals.

(From OE-Core rev: 3479e299b5f11dfcd3f5f97c4ad3e0449f6c6d6a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-09 14:27:45 +01:00
..
2015-09-03 12:43:25 +01:00
2015-09-03 12:43:31 +01:00
2015-09-03 12:43:31 +01:00
2015-09-03 12:43:31 +01:00
2014-08-11 10:53:12 +01:00
2014-08-11 10:53:12 +01:00
2015-09-03 12:43:31 +01:00
2015-09-03 12:43:28 +01:00
2015-09-03 12:43:31 +01:00
2015-09-03 12:43:30 +01:00
2015-09-03 12:43:31 +01:00
2015-09-03 12:43:31 +01:00
2015-09-03 12:43:31 +01:00
2014-08-11 10:53:12 +01:00