common/xbps-src/shutils/chroot.sh: support importing other keys

When packages in `hostdir/binpkgs` are signed, it causes `xbps-src` to
annoyingly request to import the associated key (every time, in the case
of automation tools like `xxbuild` or `ymir`). This allows the user to
add their personal public key `.plist` to `etc/repo-keys/` so this
prompting does not happen.
This commit is contained in:
classabbyamp 2023-11-17 23:19:16 -05:00 committed by classabbyamp
parent 5323e07e49
commit 9f79d71bee
3 changed files with 7 additions and 0 deletions

View file

@ -340,6 +340,9 @@ Each time a binary package is created, a package signature must be created with
> It is not possible to sign a repository with multiple RSA keys.
If packages in `hostdir/binpkgs` are signed, the key in `.plist` format (as imported by xbps) can be placed
in `etc/repo-keys/` to prevent xbps-src from prompting to import that key.
<a name="rebuilding"></a>
### Rebuilding and overwriting existing local packages