mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-04 07:51:10 +00:00
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"
This commit is contained in:
parent
18468c4218
commit
7f07cc8991
@ -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…
x
Reference in New Issue
Block a user