Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mail.openembedded.org (Postfix) with ESMTP id 63B596E5CB for ; Fri, 30 Sep 2016 09:03:16 +0000 (UTC) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP; 30 Sep 2016 02:03:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,271,1473145200"; d="scan'208";a="15345128" Received: from flexuser-devmachine.png.intel.com ([172.30.196.15]) by orsmga004.jf.intel.com with ESMTP; 30 Sep 2016 02:03:14 -0700 From: Raymond Tan To: openembedded-core@lists.openembedded.org Date: Fri, 30 Sep 2016 16:48:14 +0800 Message-Id: <20160930084814.25131-2-raymond.tan@intel.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160930084814.25131-1-raymond.tan@intel.com> References: <20160930084814.25131-1-raymond.tan@intel.com> Subject: [PATCH 1/1] grub-efi.bbclass: Add a space between root and append parameter X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2016 09:03:16 -0000 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 --- 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