Skip to content

Instantly share code, notes, and snippets.

@shawn111
Created December 8, 2017 04:29
Show Gist options
  • Save shawn111/2476f2b5a4a6b50a345aefb71aee742f to your computer and use it in GitHub Desktop.
Save shawn111/2476f2b5a4a6b50a345aefb71aee742f to your computer and use it in GitHub Desktop.
P=/home/jasonwucj/Works/verify-koji-build/7.4.1708/vault.es.bootstrap/os/Source/SPackages
for f in ${P}/[b-z]*; do
pkg=`rpm -qp $f --queryformat '%{NAME}\n'`
echo $pkg
koji add-pkg es7.4-os $pkg --owner jason.wu
koji build es7.4-os $f --nowait
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment