[PATCH] Mock autosigning

Miroslav Suchy msuchy at redhat.com
Sun Apr 19 14:27:28 UTC 2015

On 04/18/2015 01:20 AM, Julien Ballet wrote:
> It looks like mock mess with the environment, and by the time the sign
> plugin is invoked, os.environ[‘HOME’] contains /builddir which prevent rpm
> —addsign to work. To be honest, we sign with a different tool so I didn’t
> tested enough 'rpm —addsign'
> I updated the site-defaults.cfg with a way to make it work using -D options

Hmm it still have some issues. Because of that changed $HOME, it could
not find ~/.gnupg.
It would be nice if we can save $HOME somewhere before changing and then
temporary restore, before calling the executable.


More information about the buildsys mailing list