You are not logged in.
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
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