|
|
@ -415,9 +415,9 @@ EOF
|
|
|
|
snap_prepare_assertions() {
|
|
|
|
snap_prepare_assertions() {
|
|
|
|
# Configure basic snapd assertions
|
|
|
|
# Configure basic snapd assertions
|
|
|
|
local CHROOT_ROOT=$1
|
|
|
|
local CHROOT_ROOT=$1
|
|
|
|
# Optional. If set, should be a colon-separated string of brand:model to be
|
|
|
|
# A colon-separated string of brand:model to be used for the image's model
|
|
|
|
# used for the image's model assertion
|
|
|
|
# assertion
|
|
|
|
local CUSTOM_BRAND_MODEL=${2:-generic:generic-classic}
|
|
|
|
local CUSTOM_BRAND_MODEL=$2
|
|
|
|
|
|
|
|
|
|
|
|
local seed_dir="$CHROOT_ROOT/var/lib/snapd/seed"
|
|
|
|
local seed_dir="$CHROOT_ROOT/var/lib/snapd/seed"
|
|
|
|
local snaps_dir="$seed_dir/snaps"
|
|
|
|
local snaps_dir="$seed_dir/snaps"
|
|
|
|