Bug 2818

Summary: Add Build Appliance Target to Autobuilder
Product: [Infrastructure] AutoBuilder Reporter: Saul Wold <sgw>
Component: autobuilderAssignee: Beth Flanagan <elizabeth.flanagan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: david.c.stewart, elizabeth.flanagan, infras.ab.watcher, Infras.watcher, laurentiu.serban
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
Vmware VMX File
none
VMware VMXF File none

Description Saul Wold 2012-07-24 01:18:58 UTC

    
Comment 1 Saul Wold 2012-07-24 01:22:44 UTC
Created attachment 656 [details]
Vmware VMX File
Comment 2 Saul Wold 2012-07-24 01:23:36 UTC
Created attachment 657 [details]
VMware VMXF File
Comment 3 Saul Wold 2012-07-24 01:31:37 UTC
Oops, hit return instead of adding comment

Here are the steps for 1.3:

0) Install VMware-ovftool-2.1.0-467744-lin.x86_64.bundle (get from Saul)
   - sudo sh VMware-ovftool-2.1.0-467744-lin.x86_64.bundle --console
   - This is only needed once

1) MACHINE=qemux86-64 bitbake build-appliance-image
2) copy attached files to a temporay dir
3) copy tmp/deploy/images/build-appliance-image-qemux86-64.vmdk -> the same
   temporary directory as 2
4) in above temporary directory run:
   - ovftool Yocto\ Build\ Appliance.vmx Yocto\ Build\ Appliance.ovf
   - zip the resulting Yocto Build Appliance.ovf, Yocto Build Appliance.mf and
       into Yocto_Build_Appliance.zip 
5) Post said zip file
Comment 4 Saul Wold 2012-07-24 01:39:49 UTC
Forgot a very important step!  Update the SRCREV in the build-appliance-image.bb file to point to tag ref (not label), really will be head-1.
Comment 5 Saul Wold 2012-08-21 23:41:58 UTC
0) Ensure that the SRCREV is updated and pushed in build-appliance-image recipe
   - this is the master git hash for the release or milestone, may have to be manual

1) MACHINE=qemux86-64 bitbake build-appliance-image
2) copy attached files to a temporay dir
3) copy tmp/deploy/images/build-appliance-image-qemux86-64.vmdk -> the same
   temporary directory as 2
4) zip the Yocto Build Appliance.* and the vmdk image into Yocto_Build_Appliance.zip 
5) Post the zip file
Comment 6 Saul Wold 2012-08-23 18:22:39 UTC
Simplified yet again, as soon as my patch is in:

bitbake build-appliance-image

Yocto_Build_Appliance-${DATETIME}.zip is generated in tmp/deploy/images 
Yocto_Build_Appliance.zip will be a link to the above image.

Rename as needed for Release.
Comment 8 Laurentiu Serban 2012-09-19 22:12:37 UTC
http://autobuilder.pokylinux.org:8010/builders/build-appliance
Verified