fix repositoy signature with sha256 (#154)
This commit is contained in:
@ -55,7 +55,7 @@ if [ $z_res -eq 127 ] && [ $y_res -eq 127 ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gpg -abs -o dists/$dist_name/Release.gpg dists/$dist_name/Release
|
gpg -abs --digest-algo sha256 -o dists/$dist_name/Release.gpg dists/$dist_name/Release
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo "Package signing failed!"
|
echo "Package signing failed!"
|
||||||
exit 1
|
exit 1
|
||||||
@ -70,8 +70,7 @@ else
|
|||||||
sudo zypper -n install createrepo
|
sudo zypper -n install createrepo
|
||||||
fi
|
fi
|
||||||
echo "%_signature gpg" >> ~/.rpmmacros
|
echo "%_signature gpg" >> ~/.rpmmacros
|
||||||
echo "%_gpg_name MariaDB Maxscale" >> ~/.rpmmacros
|
echo "%_gpg_name MariaDB Maxscale <maxscale@googlegroups.com>" >> ~/.rpmmacros
|
||||||
# echo "%_gpg_name MariaDBManager" >> ~/.rpmmacros
|
|
||||||
echo "\r" | setsid rpm --resign $sourcedir/*.rpm
|
echo "\r" | setsid rpm --resign $sourcedir/*.rpm
|
||||||
|
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
|
Reference in New Issue
Block a user