init-install.sh: fix to handle the boot partition correctly
authorChen Qi <Qi.Chen@windriver.com>
Fri, 16 Aug 2013 09:38:10 +0000 (17:38 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Aug 2013 14:31:25 +0000 (15:31 +0100)
commit51db958068e1a3cf1321c9d6e89d17d1df3b6bbc
treea085e10be71b3c91ecc2b17097670784a4c67361
parente47f8b607002effc349460469f87775b01894650
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>
meta/recipes-bsp/grub/grub-2.00/40_custom
meta/recipes-core/initrdscripts/files/init-install.sh