]> code.ossystems Code Review - openembedded-core.git/commit
kernel-grub.bbclass: support /boot area within root partition
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 11 Nov 2013 11:56:54 +0000 (19:56 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Nov 2013 14:02:52 +0000 (14:02 +0000)
commit53d342db9f9995564573715f28c3e4c9c8c68bf9
tree92ccf2ed8772e22fa5a15e90ddec2eca0292a1af
parentf12e1291b51ba6692b6809570d6a9b73c70a7fe9
kernel-grub.bbclass: support /boot area within root partition

Previously, it supported the situation that /boot area with separate boot
partition:
...
menuentry "Update bzImage-3.10.10-WR6.0.0.0_standard-3.10" {
    set root=(hd0,1)
    linux /bzImage-3.10.10-WR6.0.0.0_standard root=/dev/sdb1 rw ip=dhcp
}
...

But didn't consider the situation that /boot within root partition:
...
menuentry "Update bzImage-3.10.10-WR6.0.0.0_standard-3.10" {
    set root=(hd0,1)
    linux /boot/bzImage-3.10.10-WR6.0.0.0_standard root=/dev/sdb1 rw ip=dhcp
}
...

This fix supported them both.
[YOCTO #5514]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel-grub.bbclass