]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub-efi.bbclass: Add a space between root and append parameter
authorRaymond Tan <raymond.tan@intel.com>
Fri, 30 Sep 2016 08:48:14 +0000 (16:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2016 16:14:13 +0000 (17:14 +0100)
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>
meta/classes/grub-efi.bbclass

index 178d0c8350c4ef038d3046681235d04ddea78f14..26ba8cefcbc70572f8409984b43c972b8daba251 100644 (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')