grub-efi.bbclass: Add a space between root and append parameter

Add a space between the root and append parameter, similar to
syslinux.bbclass, in creating the final grub.cfg.

Without this, the final kernel boot parameters will concatenate into
strings like root=/dev/ram0console=ttyS0...

(From OE-Core rev: a3b271ec8e1b2758e1e619e76646d22fd5777ce3)

Signed-off-by: Raymond Tan <raymond.tan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Raymond Tan 2016-09-30 16:48:14 +08:00 committed by Richard Purdie
parent a17ce357fe
commit 14cdcbcba5
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ python build_efi_cfg() {
if append:
append = replace_rootfs_uuid(d, append)
cfgfile.write('%s' % (append))
cfgfile.write(' %s' % (append))
cfgfile.write(' %s' % btype[1])
cfgfile.write('\n')