verify() does not work when building in a clean chroot
Pacman 6.1 supports verify()
, while it doesn't work when building a package in a clean chroot, as makechrootpkg
runs makepkg --verifysource
outside the chroot [1].
There is a commit years ago about verifying sources and chroots [2]. It seems like sources should be verified outside chroots, so that the host GPG keyring can be used?
Steps to reproduce:
pkgctl repo clone libchewing
- Edit PKGBUILD and replace
prepare()
withverify()
- Run
pkgctl build -o
==> Starting verify()...
/home/yan12125/.cache/offload-build/tmp.JQpY1otBfD/PKGBUILD: line 28: minisign: command not found
[2] 80ba8788