summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-16 17:38:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-20 15:31:25 +0100
commit059db226a096198801174a4d6e73d8101996ee5e (patch)
treecf5756da3da34349d0bc6e472f4cc9fb1fcbf207 /meta/recipes-bsp/grub
parentd9e7fbad52844ec18cf74b3be27bdd9f98b140b2 (diff)
downloadpoky-059db226a096198801174a4d6e73d8101996ee5e.tar.gz
init-install.sh: fix to handle the boot partition correctly
Previously, the boot partition was created for the target hard drive but there was no corresponding entry for it in /etc/fstab. Besides, even if the boot partition was mounted, it would just result in odd directory hierarchy like /boot/boot/grub. However, what we really need is /boot/grub. This patch fixes this problem. Besides, for future maintance work, this patch also renames some of the intermediate directories. It uses more descriptive names like /tgt_root and /src_root. The name of /ssd is dropped. [YOCTO #5018] (From OE-Core rev: aa67b1333b4774e1845f562085f7048df65a644f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub')
-rwxr-xr-xmeta/recipes-bsp/grub/grub-2.00/40_custom2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/grub/grub-2.00/40_custom b/meta/recipes-bsp/grub/grub-2.00/40_custom
index ba488308b6..f891b02779 100755
--- a/meta/recipes-bsp/grub/grub-2.00/40_custom
+++ b/meta/recipes-bsp/grub/grub-2.00/40_custom
@@ -5,5 +5,5 @@ exec tail -n +3 $0
5# the 'exec tail' line above. 5# the 'exec tail' line above.
6menuentry "Linux" { 6menuentry "Linux" {
7 set root=(hd0,1) 7 set root=(hd0,1)
8 linux /boot/vmlinuz root=__ROOTFS__ rw __CONSOLE__ __VIDEO_MODE__ __VGA_MODE__ quiet 8 linux /vmlinuz root=__ROOTFS__ rw __CONSOLE__ __VIDEO_MODE__ __VGA_MODE__ quiet
9} 9}