Skip to contentSkip to conversation

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

PATCH New Raymond Tan 1 participant 2 messages Sep 30, 2016

lore
Share & tools
lore
#0 lore raw

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

Patch to add the missing space between root and append kernel boot parameter

Raymond Tan (1):
grub-efi.bbclass: Add a space between root and append parameter

 meta/classes/grub-efi.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 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...

---
 meta/classes/grub-efi.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/grub-efi.bbclass +2 -1
index 178d0c8..26ba8ce 100644
@@ -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')
 
Signature · 1 line
2.9.3