]> code.ossystems Code Review - openembedded-core.git/commit
bootimg.bbclass:hddimg: check the size of rootfs.img for hddimg
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 30 Jun 2015 03:06:38 +0000 (20:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jul 2015 14:38:23 +0000 (15:38 +0100)
commita82f62627f79761e1b09b8f54896a9f85a591443
treeaf1cf30a5f149711e003c2b18776bd0ba647a07d
parent40cdf918dc2507a1270a4d933b2c2f46a514d6e2
bootimg.bbclass:hddimg: check the size of rootfs.img for hddimg

The hddimg uses FAT, so the single file size should be less than 4GB,
otherwise errors, check that and error out.

Another way might be use ext2/3/4 rather than FAT, but EFI only supports
FAT, if we make EFI use FAT, and non-EFI use extX, that would the code
very different, which seems not worth.

[YOCTO #6449]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/bootimg.bbclass