From a09c14c0ab3932cd4392137e148beb7df4be45de Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Wed, 18 Apr 2018 10:06:55 -0400 Subject: [PATCH] Fix missing local variables --- live-build/functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live-build/functions b/live-build/functions index ac4912f5..aa74c7dc 100644 --- a/live-build/functions +++ b/live-build/functions @@ -463,6 +463,9 @@ snap_prepare() { # used for the image's model assertion local CUSTOM_BRAND_MODEL=${2:-generic:generic-classic} + local seed_dir="$CHROOT_ROOT/var/lib/snapd/seed" + local snaps_dir="$seed_dir/snaps" + snap_prepare_assertions "$CHROOT_ROOT" "$CUSTOM_BRAND_MODEL" # Download the core snap