Remove raw root.img after packaging it into rpm - if DISCARD_PREPARED_IMAGE is set

pull/11/head mm_310019ea
Marek Marczykowski-Górecki 6 years ago
parent 75ca54bea6
commit 310019ea3c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -26,3 +26,7 @@ rpmbuild --target noarch \
--define "_topdir $PWD/rpmbuild" \
--define "_tmppath $PWD/rpmbuild/tmp" \
-bb templates.spec
if [ "0$DISCARD_PREPARED_IMAGE" -eq "1" ]; then
rm -rf "qubeized_images/$NAME"
fi

Loading…
Cancel
Save