From f173f6d0da3793952691416d80441b46af12fc94 Mon Sep 17 00:00:00 2001 From: Robin Broda Date: Thu, 3 May 2018 09:39:16 +0200 Subject: Add pkgarch to .BUILDINFO Architecture information is required for repro tooling This is a revised version of https://patchwork.archlinux.org/patch/475/ Signed-off-by: Robin Broda Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 64276c5d..238d4259 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -687,6 +687,8 @@ write_buildinfo() { local fullver=$(get_full_version) write_kv_pair "pkgver" "$fullver" + write_kv_pair "pkgarch" "$pkgarch" + local sum="$(sha256sum "${BUILDFILE}")" sum=${sum%% *} write_kv_pair "pkgbuild_sha256sum" $sum -- cgit v1.2.3-24-g4f1b