Bug 8073

Summary: Support VirtualBox guest additions in Build Appliance VM
Product: [Build System, Metadata & Runtime] Runtime Reporter: Juro Bystricky <juro.bystricky>
Component: build-applianceAssignee: Juro Bystricky <juro.bystricky>
Status: RESOLVED FIXED QA Contact: Valentin Hangan <valentinx.hangan>
Severity: enhancement    
Priority: Medium+ CC: alexandru.c.georgescu
Version: unspecified   
Target Milestone: 2.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Juro Bystricky 2015-07-28 17:36:02 UTC
Although Build Appliance VM can run using Virtual Box 
(see https://bugzilla.yoctoproject.org/show_bug.cgi?id=1971)

adding support to allow installing Virtual Box guest additions would 
make possible many additional features such as cut/paste between host/guest, sharing folders,integrated cursor...

While it is possible to build BA with the guest additions already built/included,
that is not practical, as the additions may need to be rebuilt each time VirtualBox is updated. To support rebuilding of the guest additions, BA must contain kernel headers (and some additional files) allowing rebuilding Linux device drivers.

The detailed steps to build the guest additions should be documented as well.
(https://www.yoctoproject.org/documentation/build-appliance-manual)
Comment 1 Juro Bystricky 2015-08-03 20:47:17 UTC
Sent two patches to openembedded-core@lists.openembedded.org
for review.
Comment 2 Juro Bystricky 2015-08-09 18:41:52 UTC
To proceed with this, https://bugzilla.yoctoproject.org/show_bug.cgi?id=7095
must be first resolved.
Comment 3 Juro Bystricky 2016-04-08 21:29:47 UTC
I succeeded to install VirtualBox additions in the Build Appliance.
(This needed both kernel-dev and kernel-src in the Build Appliance image).
I tested the additions by sharing a folder with the host.
(poky 8cd1decf77fac7de076673bbd89b28aff526ac86).

Will have a new recipe soon.
Comment 4 Juro Bystricky 2016-04-09 20:29:13 UTC
posted patch to the mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2016-April/120054.html