From: Raymond Tan Date: Fri, 30 Sep 2016 08:48:14 +0000 (+0800) Subject: grub-efi.bbclass: Add a space between root and append parameter X-Git-Tag: 2016-10~172 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a3b271ec8e1b2758e1e619e76646d22fd5777ce3;p=openembedded-core.git 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... Signed-off-by: Raymond Tan Signed-off-by: Ross Burton --- diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 178d0c8350..26ba8cefcb 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -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')