poky/meta
Darren Hart 955827af15 install: Look for grub2 files on the initramfs, not rootfs
Fixes [YOCTO #3870] atom-pc - cannot boot image on netbook after install

The problem here is that grub2 is installed but a grub 1 menu.lst is
created at install time. At boot, grub2 doesn't find a grub.cfg file and
drops to the grub shell.

This happens because the installer is looking for 40_custom (a grub2
file) on the rootfs, but grub2 isn't installed on the rootfs. It exists
in the initramfs. Patching the installer to look on the initramfs
resolves the problem.

Note that the problem may have occurred if grub2 used to be installed on
the rootfs but was later removed. In any case, the installer is HORRIBLE
and really needs to be completely redesigned as part of the deployment
effort. For now, this should get the live image installer limping along
again.

Tested on a Toshiba NB-305.

(From OE-Core rev: d961e42674bf929adfff391c6f3f284a7e7b0d95)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: alexandru.c.georgescu@intel.com
Cc: sgw@linux.intel.com
Cc: ross.burton@intel.com
Cc: richard.purdie@intel.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-01 15:38:50 +00:00
..
classes classes/rootfs_rpm: fix missed complementary packages with complex arch names 2013-02-14 15:19:54 +00:00
conf arch-armv4.inc: add --fix-v4bx to TARGET_LD_KERNEL_ARCH only for armv4 and strongarm1100 2013-02-14 15:19:52 +00:00
files bzip license: bzip2 not bzip. 2012-10-10 15:24:13 +01:00
lib/oe distrodata: Update distrocheck functions 2012-10-03 17:37:33 +01:00
recipes-bsp grub: disable lzma, device-mapper, zfs and nvpair 2012-09-19 17:56:27 +01:00
recipes-connectivity libnss-mdns: fix mDNS resolving speed 2013-01-07 11:32:13 +00:00
recipes-core install: Look for grub2 files on the initramfs, not rootfs 2013-03-01 15:38:50 +00:00
recipes-devtools perl: fix security issue 2013-03-01 15:38:48 +00:00
recipes-extended tcp-wrappers: add socklen_t.patch 2013-03-01 15:38:49 +00:00
recipes-gnome gnome-desktop: Now we depend on gnome-common-native, use the correct sysroot 2013-02-14 15:19:53 +00:00
recipes-graphics cogl/clutter: Explicitly depend on libdrm for GLX 2013-02-15 13:05:29 +00:00
recipes-kernel Update the SRC_URI in systemtap recipe 2013-02-14 15:19:52 +00:00
recipes-lsb4/perl libi18n-collate-perl: add it 2012-09-10 13:01:54 +01:00
recipes-multimedia alsa-tools: fix compilation error 2013-03-01 15:38:49 +00:00
recipes-qt nativesdk-qt4-tools: fix DEPENDS, as nativesdk is now prefixed 2013-02-14 15:19:54 +00:00
recipes-rt rt-tests: added missing dependencies in Makefile 2013-02-14 15:19:53 +00:00
recipes-sato sato-icon-theme: fix build 2012-12-13 15:21:45 +00:00
recipes-support libproxy: Fix for CVE-2012-4504 2012-12-13 15:21:42 +00:00
site site/common-linux: fix incorrect size of pid_t for apr 2012-07-02 16:47:44 +01:00
COPYING.MIT
recipes.txt recipes.txt: Add entries for "recipes-rt" and "recipes-support" 2012-07-09 16:58:56 +01:00