generic-poky/meta
Darren Hart 4f4d82c62c 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: 8756a19bd24045d41ad20abb581e7872d0fc9ee6)

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-02-22 06:39:07 -08:00
..
classes rootfs_rpm.bbclass: Handle multilib configures with different OS values 2013-02-22 06:39:07 -08:00
conf conf: Remove unused ROOT_FLASH_SIZE variable from the config 2013-02-17 09:07:40 +00:00
files fs-perms: remove /var/cache from volatiles 2013-02-06 09:37:29 +00:00
lib/oe distro_check: Remove creation of empty Meego filelist. 2013-02-12 13:22:44 +00:00
recipes-bsp v86d: Use BP instead of P 2013-02-04 23:31:02 +00:00
recipes-connectivity wpa-supplicant: Enabling with systemd 2013-02-11 14:46:11 +00:00
recipes-core install: Look for grub2 files on the initramfs, not rootfs 2013-02-22 06:39:07 -08:00
recipes-devtools genext2fs.inc: Add nativesdk build capability 2013-02-22 06:09:23 -08:00
recipes-extended man: Remove wildcard from SRC_URI 2013-02-22 06:09:23 -08:00
recipes-gnome gnome-common: upgrade to 3.7.4 2013-02-22 06:09:21 -08:00
recipes-graphics xserver-xf86-config: empty generic xorg.conf 2013-02-22 06:09:23 -08:00
recipes-kernel linux-dtc: Make KERNEL_DEVICETREE_FLAGS configurable 2013-02-22 06:09:23 -08:00
recipes-lsb4/perl libdumpvalue-perl: Update to 1.17 2012-11-21 16:55:57 +00:00
recipes-multimedia gst-plugins-gl: add package recipe 2013-02-22 06:09:22 -08:00
recipes-qt meta-toolchain-qt.inc: Use CXX when linking 2013-02-19 08:47:35 -08:00
recipes-rt rt-tests: fix cyclictest reported 1 sec latencies 2013-02-08 14:50:37 +00:00
recipes-sato gtk-sato-engine: update to git repository head 2013-02-22 06:09:20 -08:00
recipes-support shared-mime-info: upgrade to 1.1 2013-02-22 06:09:21 -08:00
site site/x32-linux: Specify double alignment 2013-02-13 16:52:30 +00:00
COPYING.MIT
recipes.txt recipes.txt: Add entries for "recipes-rt" and "recipes-support" 2012-07-09 16:58:56 +01:00