[Bug 1856684] Re: Populate .disk/info in ubuntu-image built images
Launchpad Bug Tracker
1856684 at bugs.launchpad.net
Thu Jan 30 09:34:19 UTC 2020
This bug was fixed in the package livecd-rootfs - 2.525.39
---------------
livecd-rootfs (2.525.39) bionic; urgency=medium
* Ensure seed partition is mounted on no-cloud images which use system-boot
as their seed (LP: #1860046)
* Have getty wait for cloud-init to complete to ensure that the default
user exists before presenting a login prompt
livecd-rootfs (2.525.38) bionic; urgency=medium
* Support generating a .disk/info file via ubuntu-image from the passed-in
datestamp parameter (using the $NOW environment variable). (LP: #1856684)
* Switch raspi2-hwe-18.04-edge to raspi2-hwe-18.04. (LP: #1859478)
livecd-rootfs (2.525.37) bionic; urgency=medium
* Use the raspi2-hwe-18.04-edge kernel flavour for the raspi3 images. This
kernel is required for proper pi4 support. (LP: #1859478)
-- Dave Jones <dave.jones at canonical.com> Fri, 24 Jan 2020 15:17:56
+0000
** Changed in: livecd-rootfs (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-image in Ubuntu.
https://bugs.launchpad.net/bugs/1856684
Title:
Populate .disk/info in ubuntu-image built images
Status in Ubuntu CD Images:
Fix Released
Status in Ubuntu Image:
Fix Committed
Status in livecd-rootfs package in Ubuntu:
In Progress
Status in ubuntu-image package in Ubuntu:
In Progress
Status in livecd-rootfs source package in Bionic:
Fix Released
Status in ubuntu-image source package in Bionic:
Fix Released
Bug description:
[Impact]
Our installer-based images (those touched by debian-cd) get a
.disk/info file written on the rootfs that contains useful information
such as the build timestamp. We do not have anything like that
available for our u-i images, while for preinstalled images sometimes
it is very important to know from which batch of images the given one
comes.
We have decided that this will be very useful to have for our 18.04.4
images.
[Test Case]
For ubuntu-image changes:
Build a classic bionic image with something like:
ubuntu-image classic -d -p ubuntu-cpc -O out/ -s bionic --cloud-init user-data --disk-info disk-info-file path/to/gadget/prime
Boot up the image on kvm, check if /.disk/info is populated.
For all the changes:
Build a new classic bionic image via cdimage (raspi3 for instance).
Boot it up (or mount it) and confirm that /.disk/info has the
corresponding datestamp serial number in it.
[Regression Potential]
Besides classic images failing to build on cdimage, I don't think
there's any other scenario I can think of. Any regression would most
likely cause a build failure.
[Other SRU Info]
I am submitting a bionic ubuntu-image SRU without releasing the same
changes for focal as I was originally planning to release this feature
as part of 1.9. The exact same changes are landed in master, and will
be released with 1.9 when it's ready, so there's certainty that it
will not be missed. I didn't feel like doing another intermediate
release for focal is strictly required - but I can do so if someone
requires it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-cdimage/+bug/1856684/+subscriptions
More information about the foundations-bugs
mailing list