[pacman-dev] [PATCH 3/6] Update Makefile.am and configure.ac for gpgdir
Allan McRae
allan at archlinux.org
Tue Jun 7 19:59:36 EDT 2011
On 02/06/11 04:09, Dan McGee wrote:
> On Wed, Jun 1, 2011 at 4:23 AM, Allan McRae<allan at archlinux.org> wrote:
>> On 29/05/11 00:37, Pang Yan Han wrote:
>>>
>>> install-data-local target in Makefile.am will now create the default
>>> GPGDir,
>>> trustdb.gpg, pubring.gpg if they do not exist.
>>>
>>> configure script will now output the default gpgdir with the other info
>>> (eg. database dir, cachedir, etc)
>>>
>>> Signed-off-by: Pang Yan Han<pangyanhan at gmail.com>
>>
>> What about creating secring.gpg too. Not that it is used, but GPG has
>> issues with it not being present.
>>
>> Also, does "touch trustdb.gpg" actually create a valid trustdb? From
>> memory, a blank trustdb is invalid and it must be created by gpg.
>
> Rather than "touch", why wouldn't one just invoke gpg once to create
> these files? (if we want to do this at all, that is, which I'm not
> sure is the case)
>
Just to confirm, touch trustdb.gpg leads to issues:
gpg: fatal: /etc/pacman.d/gnupg/trustdb.gpg: invalid trustdb
Allan
More information about the pacman-dev
mailing list