[Bug 1860780] Re: buildd images have a very plain sources.list

David Krauser david.krauser at canonical.com
Thu Mar 26 20:18:02 UTC 2020


sergiusens and cjwatson,

after more digging, I've found:

- The bootable buildd image work that recently merged into the 
  ubuntu/master (focal) branch inadvertently enabled the updates and
  security pockets in /etc/apt/sources.list

  - By switching the image format from 'none' to 'ext4', we now hit this
    block in livecd-rootfs: 

    https://git.launchpad.net/livecd-rootfs/tree/live-
build/functions?id=8f76e539b1c8f4473dbf4627a0961bdb3732c7c6#n771

- Once the bootable buildd image work is backported to bionic, the
  updates and security pockets will be enabled there, too.

- Even with these changes, the bootable images are built only with
  packages from the release pocket. If we'd like to pull in the latest  
  packages from updates or security, we could do something like the 
  following attached MP:

  https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-
rootfs/+ref/buildd-image-perform-upgrade

  - Is this something that we want to do? Some of my thoughts:

    - Snapcraft is the only group consuming the bootable images, and if
      snaps are always built with updates, this will save a lot of time.

    - The original release plan included gating bootable images on
      launchpad giving a +1 on the lxd tarballs. That will be less
      useful if the images have widely different contents.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1860780

Title:
  buildd images have a very plain sources.list

Status in livecd-rootfs package in Ubuntu:
  In Progress

Bug description:
  While testing out the buildd images on https://cloud-
  images.ubuntu.com/buildd/daily noticed that the sources.list does not
  contain all the entries one would usually find

  $ lxc exec selected-longhorn bash
  croot at INVALID:~# cat /etc/apt/sources.list
  deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
  root at INVALID:~# ls /etc/apt/sources.list.d/
  root at INVALID:~#

  It should ideally contain -updates and -security

  I have discussed with wgrant as this image is also used on launchpad
  and got confirmation that launchpad replaces those contents completely
  and this change should not affect them. Reconfirm as you must.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1860780/+subscriptions



More information about the foundations-bugs mailing list