]> code.ossystems Code Review - openembedded-core.git/commit
grub-efi.bbclass: use GRUB_ROOT rather than APPEND for root device
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 1 Apr 2016 07:32:55 +0000 (00:32 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Apr 2016 14:51:08 +0000 (15:51 +0100)
commit1f46fe7d501644c83f81dc4cc3310073c804f797
tree49fdfcdf56444c6fea151f0f986cc7e286ace8ae
parent664afc12d1aad97c85db6688790c48abfc528c53
grub-efi.bbclass: use GRUB_ROOT rather than APPEND for root device

Use APPEND for grub's root device may cause confusion, for example, when
building efi + pcbios, there maybe be two root=/dev/ram0, one of them
would be carried to the installed target, and the target would fail to
boot. Use GRUB_ROOT to fix the problem, and remove SYSLINUX_ROOT from
APPEND will fix the problem.

[YOCTO #9354]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/grub-efi.bbclass
meta/classes/syslinux.bbclass