Closing this old thread.
]]>If you build in a fakeroot scenario like makechrootpkg or using the helper scripts (e.g. extra-x86_64-build, testing-x86_64-build, multilib-build) you can edit
/usr/bin/makepkg
directly using vim or nano and change
SKIPPGPCHECK=0
to
SKIPPGPCHECK=1
This will skip signature check globally for all build scenarios. Don't forget to reset this value to 0 after your project has been build successfully - safety first. ;-)
]]>makepkg --skippgpcheck
and the output of makepkg, as I would expect, gives me
==> WARNING: Skipping verification of source file PGP signatures.
From my understanding of the documentation of makechrootpkg, everything after -- is passed to makepkg. When I run
makechrootpkg -cr /chroot/base-devel/ -- --skippgpcheck
the build fails and the output says
==> Verifying source file signatures with gpg...
==> ERROR: One or more PGP signatures could not be verified!
It appears that the --skippgpcheck option has not been passed to makepkg. Am I missing something? Is this the intended behaviour or a bug?
Is there another way to skip the PGP verification? I looked in makepkg.conf, but did not see an option.
]]>