[oe-commits] [openembedded-core] 27/30: grub-efi.bbclass: Add a space between root and append parameter

git at git.openembedded.org git at git.openembedded.org
Fri Sep 30 16:16:32 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a3b271ec8e1b2758e1e619e76646d22fd5777ce3
Author: Raymond Tan <raymond.tan at intel.com>
AuthorDate: Fri Sep 30 16:48:14 2016 +0800

    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 at intel.com>
    Signed-off-by: Ross Burton <ross.burton at 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')
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list