mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-21 16:11:24 +00:00
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized (LP: #1889470)
The seed now specifies the lxd snap in focal as 'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of the code with looks for lxd as the only snap in the seed for minimized images. This patch updates the pattern to accept 'lxd' or 'lxd=*'.
This commit is contained in:
parent
e9f4e97155
commit
136562b837
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.664.5) focal; urgency=medium
|
||||
|
||||
* Handle seeded lxd snap with channel name for ubuntu-cpc:minimized
|
||||
(LP: #1889470)
|
||||
|
||||
-- Robert C Jennings <robert.jennings@canonical.com> Wed, 29 Jul 2020 14:54:19 -0500
|
||||
|
||||
livecd-rootfs (2.664.4) focal; urgency=medium
|
||||
|
||||
* snap_preseed: support channel specification with snap name (LP: #1882374)
|
||||
|
@ -894,7 +894,7 @@ if [ "$PROJECT:${SUBPROJECT:-}" = ubuntu-cpc:minimized ]; then
|
||||
# build if we see such a snap.
|
||||
for snap in `cat config/seeded-snaps`; do
|
||||
case $snap in
|
||||
lxd)
|
||||
lxd | lxd=*)
|
||||
;;
|
||||
*)
|
||||
echo "Unexpected seeded snap for ubuntu-cpc:minimized build: $snap"
|
||||
|
Loading…
x
Reference in New Issue
Block a user