You are not logged in.

#1 2018-07-17 07:35:07

amhairghin
Member
Registered: 2015-10-14
Posts: 51

Signing packages with makechrootpkg

Hello all,

I was using the following form to make and sing packages in a chroot.

makechrootpkg -r /my/chroot/directory -d "${HOME}/.gnupg/S.gpg-agent:/build/.gnupg/S.gpg-agent" -- --clean --sign --syncdeps --noconfirm --noprogressbar

But since a few days I have the following error.

==> ERROR: There is no key in your keyring.

I can build packages outside of chroot without problems.

There is a new method to do this?

Thanks in advance.

Offline

#2 2018-07-17 16:00:26

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: Signing packages with makechrootpkg

I'm surprised this worked in the first place, since makepkg --sign is 1. run as the user "build" 2. variables like DISPLAY needed for pinentry are not available.

You can use makepkg --packagelist instead:

PKGEXT='.tar.xz' makepkg --packagelist | xargs -L1 gpg --sign

Last edited by Alad (2018-07-17 16:01:42)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB