From a2cdaee8502a8b1abe71ca6294af60628bc65a2b Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Fri, 23 Feb 2018 17:20:02 -0300 Subject: 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 --- classes/image_types_ostree.bbclass | 1 + 1 file changed, 1 insertion(+) 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 () { bbwarn "Push to garage repository has failed, retrying" fi done + rm -rf ${GARAGE_SIGN_REPO} if [ "$push_success" -ne "1" ]; then bberror "Couldn't push to garage repository" -- cgit v1.2.3-54-g00ecf