diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2021-04-22 21:46:56 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-04-23 01:07:40 +0200 |
commit | a33cdac10bf1a68279ea1b9baa26aa09126f1ca4 (patch) | |
tree | 491dfe8606bbd05fdaeae35d785c8ec45a7ecf58 /doc/alpm-hooks.5.asciidoc | |
parent | 3179db108a83104d9de6d1d607f55f8118e92160 (diff) | |
download | pacman-a33cdac10bf1a68279ea1b9baa26aa09126f1ca4.tar.gz pacman-a33cdac10bf1a68279ea1b9baa26aa09126f1ca4.tar.xz |
makepkg: add tool details to buildinfo to aid determining flags
If a makepkg consumer uses a build wrapper to override compiler
flags this may lead to unreproducible packages as there is no way to
know which exact files were used for tooling that tries to reproduce
said package.
Instead of vendoring the whole used makepkg.conf file into buildinfo,
this patch adds two new properties to the .BUILDINFO file named
BUILDTOOL and BUILDTOOLVER which by default are simply makepkg's own
values. Downstream consumers may override those values: For example in
Arch Linux the devtools package can set those values and allow
reproducible builds tooling to fetch the appropriate makepkg.conf.
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/alpm-hooks.5.asciidoc')
0 files changed, 0 insertions, 0 deletions