[pacman-dev] [PATCH v2] makepkg: add the $startdir to package .BUILDINFO

Allan McRae allan at archlinux.org
Tue Nov 26 01:50:59 UTC 2019

On 16/11/19 12:32 am, Eli Schwartz wrote:
> This value is needed for reproducible builds. The reason is because
> $BUILDDIR changes its behavior depending on whether it is the same as
> $startdir, and the result is that we cannot know whether $srcdir (the
> path that is potentially embedded into the final package) is actually
> "$BUILDDIR/src" or "$BUILDDIR/$pkgbase/src".
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
> v2: add documentation and bump the format version. I went with '2'
> rather than require a pre-release bump to get a 'real number' which we
> might forget, so if anything else gets added in the current patch
> release cycle (unlikely?) we can just skip the bumping.



More information about the pacman-dev mailing list