[PATCH] Mock autosigning

Miroslav Suchy msuchy at redhat.com
Tue Apr 21 08:57:00 UTC 2015


On 04/19/2015 04:27 PM, Miroslav Suchy wrote:
> 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.

Yesterday while working on bug 1204395, I changed UidManager to backup
and restore environment variables when switching uid.
Which allows me just restore $HOME for unpriv user and then your patch
started automagically working.

Commited as:
* d5a8311 set home for unprivUid and fix typo from previous commit
* 3c2de6a Add a plugin that calls command (from the host) on the
produced rpms.

It would be awesome, if you can document the plugin here:
  https://fedoraproject.org/wiki/Projects/Mock#Plugins

Thank you for contributing.

Mirek


More information about the buildsys mailing list