group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #23737
[Bug 1771177] Re: support preseeding snaps in 16.04
** Also affects: livecd-rootfs (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: livecd-rootfs (Ubuntu Xenial)
Status: New => In Progress
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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:
In Progress
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