From 1fe83c8db96a15bb0e747cb99db052fe8e1925cf 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(+) (limited to 'classes/image_types_ostree.bbclass') diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 5893e8d..10576aa 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass @@ -214,6 +214,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