[Group.of.nepali.translators] [Bug 1771177] Re: support preseeding snaps in 16.04
This bug was fixed in the package livecd-rootfs - 2.408.31 --- livecd-rootfs (2.408.31) xenial; urgency=medium * Backport snap preseeding functions from bionic. (LP: #1771177) -- Mathieu Trudel-Lapierre Mon, 14 May 2018 14:16:35 -0400 ** Changed in: livecd-rootfs (Ubuntu Xenial) Status: Fix Committed => Fix Released -- 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: 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 < 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 ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [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 < 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 ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp