summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-02-23 17:20:02 -0300
committerPhil Wise <philip.wise@here.com>2018-05-14 10:15:22 +0200
commita2cdaee8502a8b1abe71ca6294af60628bc65a2b (patch)
treec6e681aa053b527ec8ab4a27e3d219d38779ecc3
parent9ef1f5b379e7b80d91f77ae99b6c07c07987f753 (diff)
downloadmeta-updater-a2cdaee8502a8b1abe71ca6294af60628bc65a2b.tar.gz
image_types_ostree.bbclass: clean up GARAGE_SIGN_REPO after push
Avoid exposing the sign repo after the build is completed. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
-rw-r--r--classes/image_types_ostree.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index bc27c09..9e3bc6f 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -235,6 +235,7 @@ IMAGE_CMD_garagesign () {
235 bbwarn "Push to garage repository has failed, retrying" 235 bbwarn "Push to garage repository has failed, retrying"
236 fi 236 fi
237 done 237 done
238 rm -rf ${GARAGE_SIGN_REPO}
238 239
239 if [ "$push_success" -ne "1" ]; then 240 if [ "$push_success" -ne "1" ]; then
240 bberror "Couldn't push to garage repository" 241 bberror "Couldn't push to garage repository"