fi
if $mustsign; then
ln -sf $f $d/${arch}/Packages/
- if rpm -K $f|grep -q ' gpg' >/dev/null; then
+ if rpm -K $f|grep -q 'GPG' >/dev/null; then
echo "Already signed $f"
else
expect << __EOF
for rdir in ${dirs_to_upd}; do
echo "Section ${rdir}"
if test -d $rdir && ls -A $rdir; then
- createrepo --update ${rdir}
+ # Get rid of createrepo warnings
+ # https://bugs.launchpad.net/ubuntu/+source/createrepo/+bug/530015
+ createrepo --update ${rdir} 2>&1 |
+ grep -v DeprecationWarning:|grep -v ' import'
if test -f ${rdir}/repodata/repomd.xml.asc; then
rm ${rdir}/repodata/repomd.xml.asc
fi