[OE-core] [PATCH 1/1] bootimg: Fix a math thinko in the block count calculation
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Jan 25 15:21:17 UTC 2012
On Tue, 2012-01-24 at 21:20 -0800, Darren Hart wrote:
> Fixes [YOCTO #1852] ... again.
>
> The conversion from sectors to blocks was multiplying by 2 instead
> of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The
> result was images being much larger than intended.
>
> Reported-by: Tom Zanussi <tom.zanussi at intel.com>
> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
> CC: Joshua Lock <josh at linux.intel.com>
> ---
> meta/classes/bootimg.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Merged to master, thanks.
Richard
More information about the Openembedded-core
mailing list