generic-poky/meta
Darren Hart 33561a5417 bootimg: Do not force FAT32 on all images, it violates the FAT specification
Fixes [YOCTO #1940]

do_bootimg was performing the FAT overhead calculations assuming FAT32 and then
forcing the use of FAT32 with "-F 32" to mkdosfs. The FAT specification is clear
on cluster count being the determining factor for FAT size (even if the fs
string is set to FAT32, go figure). Syslinux follows this spec, and rightly so,
resulting in a failure on core-image-minimal:

	syslinux: zero FAT sectors (FAT12/16)

Drop the "-F 32" from mkdosfs to allow it to select the appropriate FAT size
based on cluster count. Leave the FAT overhead calculation in FAT32. This will
result in a little extra padding for really small images, but not enough extra
to justify recalculating for FAT12 and FAT16.

Tested with a core-image-minimal build for atom-pc. do_bootimg completed
successfully, and the resulting image was FAT16.

(From OE-Core rev: 634137704dd1a205e377a1131ef708f1c981f6b2)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported to edison by Darren Hart.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-14 23:11:51 +01:00
..
classes bootimg: Do not force FAT32 on all images, it violates the FAT specification 2012-04-14 23:11:51 +01:00
conf multilib.conf: add missing entry for shadow-sysroot 2012-01-30 16:49:48 +00:00
files files/device_table-minimal.txt: add /dev/kmsg 2012-01-30 16:38:13 +00:00
lib/oe lib/oe/terminal: add support for XFCE's terminal emulator 2012-01-30 16:38:07 +00:00
recipes-bsp apmd: use ${HOST_SYS}-libtool 2012-01-30 16:37:51 +00:00
recipes-connectivity openssl-0.9.8: Update to 0.9.8s 2012-01-30 16:49:48 +00:00
recipes-core task-sdk-host-nativesdk: add autotools nativesdk to meta-toolchain 2012-02-28 14:56:28 +00:00
recipes-devtools gnu-config: Only apply path transformations in the non-native/non-nativesdk case 2012-03-04 05:39:04 -08:00
recipes-extended sudo: backport patch to address CVE 2012-0809 2012-03-01 15:59:58 +00:00
recipes-gnome gnome-doc-utils: Add missing glib-2.0 dependency 2012-01-30 16:38:07 +00:00
recipes-graphics clutter-1.6: make build for armv4t 2012-01-30 16:43:51 +00:00
recipes-kernel linux-tools: don't build perf when GPLv3 in INCOMPATIBLE_LICENSE 2012-02-24 17:39:59 +00:00
recipes-multimedia alsa-lib: use PKGSUFFIX for every package to resolve multiple runtime providers from target and nativesdk 2012-01-30 16:43:41 +00:00
recipes-qt qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe. 2012-01-30 16:38:01 +00:00
recipes-rt rt-tests: use an explicit commit ID 2011-08-12 21:07:02 +01:00
recipes-sato eds-tools: Convert from BZR to GIT Repo 2012-03-04 05:38:36 -08:00
recipes-support libgpg-error: add BBCLASSEXTEND native for libgcrypts and gnutls-native 2012-03-04 05:38:22 -08:00
site site/ix86-common: fix an error 2012-02-23 17:16:47 +00:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt meta/recipes.txt: correct Qt capitalisation 2011-09-07 22:54:17 +01:00