[OE-core] [PATCHv2 0/2] meta: fix installation issue with install-efi.sh script

Mei Yeen Ng mei.yeen.ng at intel.com
Thu Nov 26 03:30:48 UTC 2015


From: "Ng, Mei Yeen" <mei.yeen.ng at intel.com>

Hi maintainers and communities,

These two patches fix the below two bugs:
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=8709
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=8710

When running the install option in Gummiboot and GRUB boot loader results in boot failure on target device:
 1/ After installing image to SATA using Gummiboot, image fail to boot from SATA
    due to missing root=PARTUUID= in the boot parameter. Addressed this by
    assigning the root uuid for non-grub boot loader in install-efi script.

 2/ Installing image to eMMC via GRUB and Gummiboot boot loader install option
    due to partition prefix and uuid for boot, root, and swap partition are
    are not captured for eMMC. Addressed this by referencing the another variable
    which captures the prefix assignment.

These patches are applied, build and tested on 2 different Intel platforms The tests results passed for the following scenarios:
  GRUB loader + install to SATA = Passed
  GRUB loader + install to eMMC = Passed
  Gummiboot loader + install to SATA = Passed
  Gummiboot loader + install to eMMC = Passed

Changelog v2:
* Updated all patch titles
* Tested woking on Jethro branch.
  Please consider backporting these 2 patches to Jethro once included in master.

Ng, Mei Yeen (2):
  init-install-efi: fix script for gummiboot loader
  init-install-efi: fix script for eMMC installation

 meta/recipes-core/initrdscripts/files/init-install-efi.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

--
1.9.1



More information about the Openembedded-core mailing list