[Bug 1837088] Re: Generate HyperV Image Gallery Builds in Bionic and Disco

Ɓukasz Zemczak 1837088 at bugs.launchpad.net
Tue Nov 5 19:29:56 UTC 2019

Reviewed, merged and sponsored. It's in the Unapproved queues now.

You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.

  Generate HyperV Image Gallery Builds in Bionic and Disco

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Bionic:
Status in livecd-rootfs source package in Disco:

Bug description:

  We can generate HyperV Image Gallery builds for Eoan images with
  livecd-rootfs, but not for Bionic and Disco. These images are
  necessary for users to install Ubuntu on their Windows machines from
  the HyperV Image Gallery:


  To support this, three commits need to be backported from
  ubuntu/master to ubuntu/disco and ubuntu/bionic:


  [Test Case]

  These images can be built with the livecd-roottfs ubuntu/master branch
  by specifying the ubuntu project and the desktop-preinstalled

  For example (using the ubuntu-bartender helper script in ubuntu-old-
  fashioned [1]):

  ubuntu-old-fashioned/scripts/ubuntu-bartender/ubuntu-bartender --
  --series eoan --project ubuntu --subproject desktop-preinstalled

  When backported, it's expected that these images can be built for both
  disco and bionic with the same parameters specified:

  -- --project ubuntu --subproject desktop-preinstalled

  -- --project ubuntu --subproject desktop-preinstalled

  1: https://github.com/chrisglass/ubuntu-old-fashioned

  [Regression Potential]

  The binary hook used to create the HyperV image is isolated and
  shouldn't affect other image builds; however, that hook depends on a
  symbolic link to a hook in the ubuntu-cpc project. There's a
  possibility of future breakage if the ubuntu-cpc project hook is
  modified without taking into account its use in multiple places.

  To enable the use of a symbolic link, some logic was changed in the
  live-build configuration script. Previously, all files were copied
  over as-is. Now, symbolic links in hook directories are dereferenced
  and turned into regular files. In practice, this should only have an
  affect on two files, and that affect should be safe:

  livecd-rootfs $ find . -type l -print | grep hooks

  This may cause undesired behavior for other users of livecd-rootfs,
  though, that inject symbolic links into their hooks directory.

To manage notifications about this bug go to:

More information about the Ubuntu-sponsors mailing list