ansible-role-kojihub/templates/opt/rocky-tools/regen-buildrepos.sh

7 lines
179 B
Bash
Raw Permalink Normal View History

2020-12-23 19:46:25 +00:00
#!/bin/bash
# adapted from centos
logfile=/var/tmp/koji-regen-repo.log
for buildroot in $(koji list-tags \*-build); do
koji regen-repo --nowait $buildroot >> $logfile 2>&1
done