summaryrefslogtreecommitdiffstats
path: root/meta
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-10-01 21:45:56 +0100
commit14cdcbcba5e9fe93da03955b99496c2f6c047d7d (patch)
treea9e4a4bac9ef33205eb99808ff362f7673158863 /meta
parenta17ce357fec2c38db3ff5263c652c82fdf0682bc (diff)
downloadpoky-14cdcbcba5e9fe93da03955b99496c2f6c047d7d.tar.gz
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>
Diffstat (limited to 'meta')
-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() {
146 146
147 if append: 147 if append:
148 append = replace_rootfs_uuid(d, append) 148 append = replace_rootfs_uuid(d, append)
149 cfgfile.write('%s' % (append)) 149 cfgfile.write(' %s' % (append))
150
150 cfgfile.write(' %s' % btype[1]) 151 cfgfile.write(' %s' % btype[1])
151 cfgfile.write('\n') 152 cfgfile.write('\n')
152 153