Document possibility to invoke other tools via `makecontainerpkg`

This commit is contained in:
Martchus 2023-11-10 14:12:47 +01:00
parent 719f39092c
commit 2a4b462c6c
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,10 @@ makecontainerpkg [cre args] --- [makepkg args]
Set the environment variable `CRE` to the container runtime executable (by
default `docker`) and set `CRE_IMAGE` to use a different container image.
Note that you can also set the environment variable `TOOL` to invoke a different
tool instead of `makepkg`, e.g. `TOOL=updpkgsums makecontainerpkg` can be used
to update checksums.
Example where the host pacman cache and ccache directories are mounted into the
container and a package rebuild is forced via `makepkg`'s flag `-f`:
```