Update README.md about makechrootpkg

This commit is contained in:
Stephen Seo 2022-06-02 15:17:50 +09:00
parent 1238850e91
commit d76445df26
2 changed files with 19 additions and 0 deletions

View file

@ -139,3 +139,11 @@ It may be helpful to periodically clear out the logs directory in between
invocations of the AUR Helper script.
It is recommended to use the script with a prepared config.
# Other Notes
By default, `makechrootpkg` does not verify integrity of files in the PKGBUILD.
Use the `makechrootpkg_noskipinteg.hook` to modify the `makechrootpkg` script to
not skip integrity checks.
The hook must be placed in `/etc/pacman.d/hooks/`.

View file

@ -0,0 +1,11 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = devtools
[Action]
Description = Force makechrootpkg to not --skipinteg
When = PostTransaction
Exec = /usr/bin/sed -i '/^default_makepkg_args=.*$/s/ --skipinteg//' /usr/bin/makechrootpkg
Depends = devtools