Bug 9774

Summary: systemd-boot: Add new test target as what the existing gummiboot does
Product: [QA/Testing] Runtime Testing Reporter: Jianxun Zhang <jianxun.zhang>
Component: generalAssignee: Jose Perez C <jose.perez.carranza>
Status: RESOLVED FIXED QA Contact: David Rodriguez <david.israelx.rodriguez.castellanos>
Severity: normal    
Priority: Medium+ CC: randy.macleod
Version: 2.1   
Target Milestone: 2.2 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 9707    

Description Jianxun Zhang 2016-06-14 23:39:23 UTC
This will be another actual change in OE in the procedure to migrate our EFI bootloader from gummiboot to systemd-boot.

QA team needs to create new systemd-boot test hardware target like what the existing gummiboot does. I suggest we keep the existing gummit and add new systemd-boot to prevent any breakage until we purged gummiboot everywhere in Yocto.

The document change can be a part of https://bugzilla.yoctoproject.org/show_bug.cgi?id=9707 when we do a fully update in all docs.

./meta/lib/oeqa/controllers/masterimage.py could be a starting point.
Comment 1 Jose Perez C 2016-07-11 21:00:49 UTC
The values already defined under GummibootTarget class should remain the same for systemd boot ?

File: masterimage.py
------------------------------------------------------------------------

self.efivarvalue = r'\x07\x00\x00\x00\x74\x00\x65\x00\x73\x00\x74\x00\x00\x00'

'printf "%s" > /sys/firmware/efi/efivars/LoaderEntryOneShot-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f' % self.efivarvalue

-------------------------------------------------------------------------
Comment 2 Jianxun Zhang 2016-07-11 23:51:41 UTC
Yes, Jose.
I also suggest we keep gummiboot stuff alive this time until we notice people stopping using it and update document, then we will clean up gummiboot in OE in background. Sounds a plan?
Comment 3 Jianxun Zhang 2016-07-11 23:54:18 UTC
Jose, I assign this back to you with my feedback. Thanks
Comment 4 Jose Perez C 2016-07-12 13:06:24 UTC
(In reply to comment #3)
> Jose, I assign this back to you with my feedback. Thanks

Jianxun, sure I'll start working on this.
Comment 5 Jose Perez C 2016-07-13 18:57:24 UTC
Patch sent to the mailing list: 

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/123862.html