[Bug 1771177] Update Released
Ćukasz Zemczak
1771177 at bugs.launchpad.net
Thu Jun 7 15:26:25 UTC 2018
The verification of the Stable Release Update for livecd-rootfs has
completed successfully and the package has now been 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.
--
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/1771177
Title:
support preseeding snaps in 16.04
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Xenial:
Fix Released
Bug description:
[Impact]
Customized images built for 16.04
[Test case]
1) Install livecd-rootfs
2) Take a copy of the code tree for livecd-rootfs.
3) Prepare a project/subproject tree for hooks:
$ mkdir -p live-build/xyz/hooks/
$ echo <<EOF > live-build/xyz/hooks/000-snap-preseed.binary
#!/bin/sh
. config/functions
snap_preseed telegram
EOF
3) Build the image using livecd-rootfs:
$ PROJECT=xyz SUBPROJECT=snapped lb config
$ PROJECT=xyz SUBPROJECT=snapped lb build
4) Validate that the image contains the preseeded snap as intended.
[Regression potential]
Make sure any unexpected build behavior for images is investigated as a potential regression: the addition of config/functions (live-build/functions) in the build may lead to image builds failing, or could otherwise break the behavior of a part of the image build such that components of build images are missing. All images regularly built from livecd-rootfs should be tested to ensure they are equivalent to those previously built.
---
18.04 builds can included preseeded snaps; but 16.04 can't.
Please backport the relevant functions of livecd-rootfs, so while
(ubuntu seed)-based preseeding of snaps can't be done yet (changing
seeds might otherwise change image contents), customized images can
include their own snaps as necessary by calling the right functions in
hook scripts.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1771177/+subscriptions
More information about the foundations-bugs
mailing list