generic-poky/meta/recipes-core
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
..
base-files base-files: remove /var/cache from volatiles 2013-02-06 09:37:28 +00:00
base-passwd base-passwd.preinst:fix creating passwd and group error 2013-02-22 06:09:23 -08:00
busybox hwclock.sh: check for the existence of /etc/default/rcS 2013-02-22 06:09:22 -08:00
console-tools console-tools: fix linking when using the multilib compiler 2013-02-04 16:42:48 +00:00
coreutils coreutils: remove dependency on coreutils-native 2013-02-08 14:50:37 +00:00
dbus dbus: Drop x11 support from nativesdk 2013-02-19 08:47:36 -08:00
dbus-wait o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.org 2011-09-02 18:15:29 +01:00
dropbear dropbear: use pidfile for daemon start/stop/restart 2013-02-15 13:05:27 +00:00
eglibc eglibc-nativesdk: Fix buffer overrun with a relocated SDK 2013-02-08 14:50:37 +00:00
expat expat: update to upstream version 2.1.0 2012-05-16 07:34:28 +01:00
feed-config opkg-config-base/poky-feed-config-opkg: Always use ALL_MULTILIB_PACKAGE_ARCHS to build arch list 2012-04-16 12:52:10 +01:00
gettext gettext: Fix build with uclibc remove upstreamed patches 2013-01-27 13:53:34 +00:00
glib-2.0 glib-2.0: Fix ptest to build with uclibc. 2013-02-11 15:41:20 +00:00
glib-networking recipes: bump PR to rebuild after libffi5 -> libffi6 2012-09-19 17:56:26 +01:00
images build-appliance: Updated to include bblayers.conf.sample fix 2012-12-11 15:58:35 +00:00
init-ifupdown netbase: split up in netbase and init-ifupdown 2013-02-06 09:37:28 +00:00
initrdscripts install: Look for grub2 files on the initramfs, not rootfs 2013-02-22 06:39:07 -08:00
initscripts initscripts: Add status function to /etc/init.d/functions 2013-02-08 14:50:38 +00:00
jpeg recipes-core: replace virtclass-native(sdk) with class-native(sdk) 2012-11-02 16:18:27 +00:00
kbd kbd: cleanup update-alternatives deprecated code 2012-08-15 14:26:27 +01:00
libcgroup libcgroup: fix failure for absolute path 2013-02-08 14:50:38 +00:00
libxml libxml2 CVE-2012-2871 2012-12-17 17:24:56 +00:00
meta external-python-tarball: code refactoring 2013-02-22 06:09:24 -08:00
ncurses ncurses.inc: Fix display corruption and add fallback for sstate compiled paths 2013-02-11 14:46:11 +00:00
netbase netbase: split up in netbase and init-ifupdown 2013-02-06 09:37:28 +00:00
packagegroups netbase: split up in netbase and init-ifupdown 2013-02-06 09:37:28 +00:00
psplash psplash: enable multilib 2012-12-19 17:54:59 +00:00
readline readline: apply upstream patches 2012-12-03 14:32:46 +00:00
sysfsutils sysfsutils: replace obsolete automake macros with working ones 2013-01-16 11:57:35 +00:00
systemd systemd: add udev-extraconf and USB/PCI IDs to RRECOMMENDS 2013-02-15 12:17:35 +00:00
sysvinit sysvinit: add ROOTFS_READ_ONLY variable to rcS-default 2013-02-06 09:37:27 +00:00
tinylogin tinylogin: cleanup update-alternatives deprecated code 2012-08-15 14:26:27 +01:00
uclibc uclibc: turn on kernel module support 2013-02-08 14:50:35 +00:00
udev udev: Cleanup .inc file 2013-02-11 14:32:18 +00:00
update-rc.d update-rc.d: fix failure on target 2013-01-17 20:16:46 +00:00
util-linux util-linux: Remove -systemd package 2013-02-14 10:46:26 +00:00
zlib zlib: upgrade to 1.2.7 2012-05-09 21:42:52 +01:00