From 4fb73c2b19127018d3bb9d08a2f791b66c67ee79 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 16 Jul 2019 08:29:09 +0200 Subject: [PATCH] functions: use CHROOT_ROOT in snap_preseed --- live-build/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/functions b/live-build/functions index a07fff55..d17e846d 100644 --- a/live-build/functions +++ b/live-build/functions @@ -642,7 +642,7 @@ snap_preseed() { # downside is that each time a snap is added the seed must be valid, # i.e. snaps with bases need to add bases first etc. if [ -e chroot/var/lib/snapd/seed/seed.yaml ]; then - snap debug validate-seed chroot/var/lib/snapd/seed/seed.yaml + snap debug validate-seed "$CHROOT_ROOT/var/lib/snapd/seed/seed.yaml" fi }