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"

(cherry picked from commit 7f07cc8991)
sil2100/backport-datasource-raspi3
Iain Lane 6 years ago
parent 3b3fe0fce8
commit 139983b8a1
No known key found for this signature in database
GPG Key ID: E352D5C51C5041D4

@ -558,6 +558,12 @@ snap_prepare() {
local snaps_dir="$seed_dir/snaps" local snaps_dir="$seed_dir/snaps"
snap_prepare_assertions "$CHROOT_ROOT" "$CUSTOM_BRAND_MODEL" 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() { snap_preseed() {

Loading…
Cancel
Save