live-build/functions: Seed core again on non-minimized builds

This is apparently still required; without it snapd gives an error
message like:

  stateengine.go:102: state ensure error: devicemgr: cannot proceed without seeding "core"
u-i-cloud-init
Iain Lane 6 years ago
parent 18468c4218
commit 7f07cc8991
No known key found for this signature in database
GPG Key ID: E352D5C51C5041D4

@ -619,6 +619,12 @@ snap_prepare() {
local CUSTOM_BRAND_MODEL=${2:-generic:generic-classic}
snap_prepare_assertions "$CHROOT_ROOT" "$CUSTOM_BRAND_MODEL"
# ubuntu-cpc:minimized has its own special snap handling
if [ "$PROJECT:${SUBPROJECT:-}" != ubuntu-cpc:minimized ]; then
# Download the core snap
_snap_preseed "$CHROOT_ROOT" core stable
fi
}
snap_preseed() {

Loading…
Cancel
Save