gen-yum: handle new rpm --checksig output

master
neingeist 7 years ago
parent 38243e7897
commit 3dfc988ac0

@ -18,7 +18,7 @@ for base_dir in $BASE_DIRS; do
chcon -t svirt_sandbox_file_t *.rpm chcon -t svirt_sandbox_file_t *.rpm
# Sign unsigned RPMs # Sign unsigned RPMs
unsigned=`rpm --checksig *.rpm | egrep -v ': .*pgp' | sed 's#:.*##'` || true unsigned=`rpm --checksig *.rpm | egrep -v ': .*(pgp|signatures OK)' | sed 's#:.*##'` || true
if [ ${#unsigned} != 0 ]; then if [ ${#unsigned} != 0 ]; then
echo "Unsigned packages:" echo "Unsigned packages:"
echo "$unsigned" echo "$unsigned"

Loading…
Cancel
Save