Build buildd images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Xenial |
Fix Released
|
High
|
Colin Watson | ||
Bionic |
Fix Released
|
High
|
Colin Watson |
Bug Description
I've been working for some time on having livecd-rootfs be able to build buildd chroots. This has a few immediate advantages: it makes the process of building those chroots more transparent and reproducible, reduces the pressure on the single person currently responsible for managing chroots across all architectures, and allows for a less frustrating chroot update process since I added a facility to Launchpad last year for updating chroots from a livefs build which will be a fast API operation rather than something requiring uploading several hundred megabytes to Launchpad and frequently timing out. I expect that in the future it can also allow us to have separate chroots for e.g. -updates at relatively low cost, which will make builds for stable series substantially faster as they won't need to apply a large and growing set of upgrades at the start of nearly every build.
We also have a more recent requirement to build LXD images in order that we can converge with the images used by snapcraft, and so that we can use them directly in Launchpad livefs and snap builds rather than having to convert chroots on the fly. Fortunately it's quite easy to convert buildd chroots into images usable by LXD, and for now I've simply translated the approach currently used in launchpad-buildd to do the conversion on the fly.
Particularly in order to assist with snapcraft convergence but also so that we can improve build performance for the heavily-used LTS series, I'd like to backport this support to xenial and bionic. Most of it has been in disco for a while now, with some recent tweaks.
[Test Case] We'll want to run livefs builds in Launchpad with appropriate configuration, similar to https:/
[Regression Potential] The patch is substantially just adding another subproject type so I'm not too concerned, but of course we should check that a couple of other build types still work.
Related branches
- Adam Conrad (community): Approve
-
Diff: 256 lines (+143/-0)16 files modifieddebian/changelog (+6/-0)
live-build/auto/build (+10/-0)
live-build/auto/config (+54/-0)
live-build/buildd/hooks/00-kernel-img.chroot (+5/-0)
live-build/buildd/hooks/00-mirror.binary (+12/-0)
live-build/buildd/hooks/01-pkgbinarymangler.chroot (+10/-0)
live-build/buildd/hooks/02-user.chroot (+9/-0)
live-build/buildd/includes.chroot/etc/apt/apt.conf.d/99buildd (+2/-0)
live-build/buildd/includes.chroot/etc/apt/preferences.d/backports (+3/-0)
live-build/buildd/includes.chroot/etc/fstab (+1/-0)
live-build/buildd/includes.chroot/etc/hostname (+1/-0)
live-build/buildd/includes.chroot/etc/hosts (+9/-0)
live-build/buildd/includes.chroot/usr/local/sbin/policy-rc.d (+13/-0)
live-build/buildd/preseed/debconf.preseed (+2/-0)
live-build/buildd/preseed/man-db.preseed (+3/-0)
live-build/buildd/preseed/sun-java6.preseed (+3/-0)
- Adam Conrad (community): Approve
-
Diff: 33 lines (+19/-0)2 files modifieddebian/changelog (+6/-0)
live-build/buildd/hooks/01-policy-rc-d.binary (+13/-0)
- Ubuntu Core Development Team: Pending requested
-
Diff: 345 lines (+195/-1)21 files modifieddebian/changelog (+8/-0)
debian/tests/default-bootstraps (+1/-0)
live-build/auto/build (+1/-1)
live-build/auto/config (+37/-0)
live-build/buildd/hooks/00-kernel-img.chroot (+5/-0)
live-build/buildd/hooks/00-mirror.binary (+12/-0)
live-build/buildd/hooks/01-pkgbinarymangler.chroot (+10/-0)
live-build/buildd/hooks/02-user.chroot (+9/-0)
live-build/buildd/hooks/50-buildd-tar.binary (+10/-0)
live-build/buildd/hooks/51-buildd-lxd.binary (+16/-0)
live-build/buildd/includes.chroot/etc/apt/apt.conf.d/99buildd (+2/-0)
live-build/buildd/includes.chroot/etc/apt/preferences.d/backports (+3/-0)
live-build/buildd/includes.chroot/etc/fstab (+1/-0)
live-build/buildd/includes.chroot/etc/hostname (+1/-0)
live-build/buildd/includes.chroot/etc/hosts (+9/-0)
live-build/buildd/includes.chroot/etc/resolv.conf (+0/-0)
live-build/buildd/includes.chroot/usr/local/sbin/policy-rc.d (+13/-0)
live-build/buildd/preseed/debconf.preseed (+2/-0)
live-build/buildd/preseed/man-db.preseed (+3/-0)
live-build/buildd/preseed/sun-java6.preseed (+3/-0)
live-build/make-lxd-metadata.py (+49/-0)
- Ubuntu Core Development Team: Pending requested
-
Diff: 345 lines (+195/-1)21 files modifieddebian/changelog (+8/-0)
debian/tests/default-bootstraps (+1/-0)
live-build/auto/build (+1/-1)
live-build/auto/config (+37/-0)
live-build/buildd/hooks/00-kernel-img.chroot (+5/-0)
live-build/buildd/hooks/00-mirror.binary (+12/-0)
live-build/buildd/hooks/01-pkgbinarymangler.chroot (+10/-0)
live-build/buildd/hooks/02-user.chroot (+9/-0)
live-build/buildd/hooks/50-buildd-tar.binary (+10/-0)
live-build/buildd/hooks/51-buildd-lxd.binary (+16/-0)
live-build/buildd/includes.chroot/etc/apt/apt.conf.d/99buildd (+2/-0)
live-build/buildd/includes.chroot/etc/apt/preferences.d/backports (+3/-0)
live-build/buildd/includes.chroot/etc/fstab (+1/-0)
live-build/buildd/includes.chroot/etc/hostname (+1/-0)
live-build/buildd/includes.chroot/etc/hosts (+9/-0)
live-build/buildd/includes.chroot/etc/resolv.conf (+0/-0)
live-build/buildd/includes.chroot/usr/local/sbin/policy-rc.d (+13/-0)
live-build/buildd/preseed/debconf.preseed (+2/-0)
live-build/buildd/preseed/man-db.preseed (+3/-0)
live-build/buildd/preseed/sun-java6.preseed (+3/-0)
live-build/make-lxd-metadata.py (+49/-0)
- Michael Hudson-Doyle: Approve
-
Diff: 151 lines (+85/-11)6 files modifieddebian/changelog (+7/-0)
live-build/auto/build (+1/-11)
live-build/auto/config (+2/-0)
live-build/buildd/hooks/50-buildd-tar.binary (+10/-0)
live-build/buildd/hooks/51-buildd-lxd.binary (+16/-0)
live-build/make-lxd-metadata.py (+49/-0)
Changed in livecd-rootfs (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in livecd-rootfs (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in livecd-rootfs (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Hello Colin, or anyone else affected,
Accepted livecd-rootfs into bionic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ livecd- rootfs/ 2.525.17 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- bionic to verification- done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- bionic. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.