aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Tan <raymond.tan@intel.com>2016-09-30 16:48:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:14:13 +0100
commita3b271ec8e1b2758e1e619e76646d22fd5777ce3 (patch)
tree6dc73b451385ec27fd9b873b77153b4dce5014fd
parente3c7d8a98a261a6a8c913e7fcd19264df501636d (diff)
downloadopenembedded-core-contrib-a3b271ec8e1b2758e1e619e76646d22fd5777ce3.tar.gz
openembedded-core-contrib-a3b271ec8e1b2758e1e619e76646d22fd5777ce3.tar.bz2
openembedded-core-contrib-a3b271ec8e1b2758e1e619e76646d22fd5777ce3.zip
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 <raymond.tan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/grub-efi.bbclass3
1 files changed, 2 insertions, 1 deletions
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')