From e655aff7b162eada31dbd5c4f45d3d685cd0098e Mon Sep 17 00:00:00 2001 From: Robert C Jennings Date: Fri, 6 Apr 2018 12:51:47 -0500 Subject: [PATCH] live-build/functions: Migrate from generic snap account-id --- live-build/functions | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/live-build/functions b/live-build/functions index f74d9d44..ceef5d78 100644 --- a/live-build/functions +++ b/live-build/functions @@ -423,12 +423,10 @@ snap_prepare() { > "$account_key_assertion" fi - # XXX Copied from auto/build this value is never used. - # Is that correct in that file or was there a reason for this? - # account=$(sed -n -e's/account-id: //p' \ < "$account_key_assertion") + account=$(sed -n -e's/account-id: //p' \ < "$account_key_assertion") if ! [ -e "$account_assertion" ] ; then - snap known --remote account account-id=generic \ + snap known --remote account account-id=$account \ > "$account_assertion" fi