All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] grub-efi.bbclass: Add a space between root and append parameter
@ 2016-09-30  8:48 Raymond Tan
  2016-09-30  8:48 ` [PATCH 1/1] " Raymond Tan
  0 siblings, 1 reply; 2+ messages in thread
From: Raymond Tan @ 2016-09-30  8:48 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
2.9.3



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] grub-efi.bbclass: Add a space between root and append parameter
  2016-09-30  8:48 [PATCH 0/1] grub-efi.bbclass: Add a space between root and append parameter Raymond Tan
@ 2016-09-30  8:48 ` Raymond Tan
  0 siblings, 0 replies; 2+ messages in thread
From: Raymond Tan @ 2016-09-30  8:48 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/classes/grub-efi.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 178d0c8..26ba8ce 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')
 
-- 
2.9.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-30  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30  8:48 [PATCH 0/1] grub-efi.bbclass: Add a space between root and append parameter Raymond Tan
2016-09-30  8:48 ` [PATCH 1/1] " Raymond Tan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.