Bug 2818 - Add Build Appliance Target to Autobuilder
Summary: Add Build Appliance Target to Autobuilder
Status: VERIFIED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-24 01:18 UTC by Saul Wold
Modified: 2012-09-19 22:12 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
Vmware VMX File (1.45 KB, application/x-vmware-vm)
2012-07-24 01:22 UTC, Saul Wold
no flags Details
VMware VMXF File (276 bytes, application/octet-stream)
2012-07-24 01:23 UTC, Saul Wold
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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