[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#865269: cloud.debian.org: Please provide an official contrib-stretch64 vagrant base box



Hi,

On 26/07/17 at 14:27 +0200, Emmanuel Kasper wrote:
> On 07/26/2017 01:45 PM, Lucas Nussbaum wrote:
> > Hi,
> > 
> > On 21/06/17 at 17:00 +0200, Emmanuel Kasper wrote:
> >>> Debian has provided official vagrant base boxes in 2 flavors - one without the VirtualBox guest additions
> >>> and the other with the guest additions, since the Jessie release. With Stretch released a few days back,
> >>> only the base box without the guest additions is available. Please provide a contrib-stretch64 base box
> >>> with the guest additions.
> >>
> >> Thank your for your interest for the Vagrant Box with guest additions.
> >>
> >> The thing is that VirtualBox itself was removed from Stretch (but still
> >> available in unstable) at the request of the package maintainer, due to
> >> the difficulty of providing security fixes for stable releases.
> >> ( see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794466 )
> >>
> >> This means it is not possible to install the guest additions on a
> >> Stretch VM without first backporting the guest additions from unstable.
> >> IIRC using the non-free iso containing the guest additions bring another
> >> problem, is that the guest additions does not build inside the VM if the
> >> VM itself is not running inside Virtualbox. But we build the VMs using qemu.
> > 
> > What is the reason for not using VirtualBox to build the images? Is that
> > because of the need of a solution that can run inside another VM?
> 
> yes that would be a technical reason
> but the main reason here is that VirtualBox is not free due to the
> obscure license of the compiler required to build its bios (ggole
> openwatcom license)
> 
> so I build with qemu and convert afterwards to the OVF format to be
> imported by VirtualBox (for the record Centos Boxes are built similarly
> from qemu, then converted)

In order to document my progress:
I did some work in the debian-vm-templates git repo, in order to get
more familiar with the images building process. I fixed some minor bugs, and
added a preliminary contrib-stretch image.
My work lives in the 'ci' branch (because my ultimate goal was to setup
some ci, but I did not reach that point).
https://anonscm.debian.org/cgit/cloud/debian-vm-templates.git/log/?h=ci

Remaining action items are:
- fix the cleanup in the script that installs the guest additions (it
  turns out that it's possible to install the guest additions inside qemu)
- when they are ready, re-do all the work for the FAI-generated vagrant images
- add a buster image (there's already a testing one in the repo that
  should be recycled)

Lucas


Reply to: