[CentOS] Howto batch sign RPM packages?

Patrick Lists centos-list at puzzled.xs4all.nl
Sun Dec 12 23:37:10 UTC 2010


On 12/11/2010 12:22 PM, Sergey Podushkin wrote:
> After building a bunch of packages it can be easily signed by this way:
> 
> rpm --resign *.rpm
> 
> if you need to sign packages from other account:
> 
> su -c "rpm --resign *.rpm" username
> 
> So it requires to type password only once.
> It may be worth to move packages to some directory to avoid resigning of 
> another packages, or you can change command and use names of packages 
> instead of wildmarked name.

Thanks Sergey. This is how I now have it setup and it works fine.

Regards,
Patrick



More information about the CentOS mailing list