Update README.md about makechrootpkg
This commit is contained in:
parent
1238850e91
commit
d76445df26
2 changed files with 19 additions and 0 deletions
|
@ -139,3 +139,11 @@ It may be helpful to periodically clear out the logs directory in between
|
||||||
invocations of the AUR Helper script.
|
invocations of the AUR Helper script.
|
||||||
|
|
||||||
It is recommended to use the script with a prepared config.
|
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/`.
|
||||||
|
|
11
makechrootpkg_noskipinteg.hook
Normal file
11
makechrootpkg_noskipinteg.hook
Normal 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
|
Loading…
Reference in a new issue