Add gpg signing debugging

This commit is contained in:
2026-04-13 23:33:22 -04:00
parent edb281dad6
commit d933d6bebc

View File

@@ -1221,6 +1221,7 @@ run_createrepo() {
repomd_asc_tmp=$(mktemp) || { err "Failed to create temp file for signature"; return 1; }
gpg_cmd=(gpg --batch --yes --armor --detach-sign --output "$repomd_asc_tmp")
((DEBUG)) && gpg_cmd+=(--verbose)
[[ -n $SIGN_KEY ]] && gpg_cmd+=(--local-user "$SIGN_KEY")
gpg_cmd+=("$repomd_xml")