]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
grub-efi.bbclass: use GRUB_ROOT rather than APPEND for root device rbt/efi
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 1 Apr 2016 07:32:55 +0000 (00:32 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Sat, 2 Apr 2016 06:13:57 +0000 (23:13 -0700)
commit4d56b6768748368a1a792c0d9e29ddfa2f87d2aa
tree6008c54ceab3f9757b5f909edd1bb3a083cd21be
parent1831ad4009390bec7442328bf4873d3ff33c6402
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>
meta/classes/grub-efi.bbclass
meta/classes/syslinux.bbclass