Add support for building Ubuntu appliance images

Bug #1887673 reported by Łukasz Zemczak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Invalid
Critical
Łukasz Zemczak
Bionic
Fix Released
Critical
Łukasz Zemczak

Bug Description

[Impact]

A while back, we have launched Ubuntu Appliances, a set of ubuntu-core based appliance-based images for various use-cases. One can read more about those here:

https://ubuntu.com/appliance

The first batch of appliances have been created with some local tooling. This is counter-productive, as there will be more and more appliances appearing in time. We want to support building and publishing of such images via cdimage. For this, we need to add support for building such images into livecd-rootfs.

To make the task of adding new appliances easier, we want to add support for building arbitrarily named appliance images. The proposed change adds a special appliance-<MODEL> wildcard SUBARCH, which results in building an image of the specified model - additionally setting the brand to ubuntu from the default canonical one.

[Test Case]

Once the package builds in -proposed, attempt a livefs ubuntu-core build with SUBARCH=appliance-adguard-home-core18-amd64, make sure it succeeds. Then launch another livefs ubuntu-core build with SUBARCH=appliance-adguard-home-core18-pi, make sure it succeeds.

To make sure regular core builds are still working, check if -proposed based bionic ubuntu-core and classic raspi images still build correctly.

[Regression Potential]

We need to make sure that regular ubuntu-core and preinstalled server builds still work correctly, as this is where any regressions can be seen. But we added a test case for that.

[Other Info]

Note to SRU members: this is a change very specific to bionic. I will also push it to groovy later, but it basically only has an use-case in bionic (uc18). When we switch appliances to uc20, we'll need to push this to focal - but right now it makes no sense to have it there (and no way to test it).

So I'd appreciate only accepting it for bionic.

description: updated
Changed in livecd-rootfs (Ubuntu):
status: In Progress → Confirmed
Changed in livecd-rootfs (Ubuntu Bionic):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Łukasz Zemczak (sil2100)
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Łukasz, 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.44 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, what testing has been performed on the package 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/PerformingSRUVerification . 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.

Changed in livecd-rootfs (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This is verified. I was able to produce the full set of appliance images using the -proposed version of livecd-rootfs (2.525.44):

http://cdimage.ubuntu.com/ubuntu-appliance/18/stable/20200722.4/

Also, regular ubuntu-core images are still building correctly as daily images are still being produced normally. No errors.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.525.44

---------------
livecd-rootfs (2.525.44) bionic; urgency=medium

  * Add support for building uc18 appliance images (LP: #1887673).

 -- Łukasz 'sil2100' Zemczak <email address hidden> Thu, 07 May 2020 18:38:54 +0200

Changed in livecd-rootfs (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for livecd-rootfs has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in livecd-rootfs (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.