mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-12 11:41:13 +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" (cherry picked from commit 7f07cc899192b33c0eded30ffa514a6581df046e)
This commit is contained in:
parent
3b3fe0fce8
commit
139983b8a1
@ -558,6 +558,12 @@ snap_prepare() {
|
||||
local snaps_dir="$seed_dir/snaps"
|
||||
|
||||
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