Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makerepropkg.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2019-12-28 18:59:42 +0100
committerLevente Polyak <anthraxx@archlinux.org>2020-02-10 23:02:16 +0100
commit4c206ab549b7944801f11387cbc57807e8e24338 (patch)
tree7eb1cac63259ac768b7c6770cb0aff73f2ce8c24 /makerepropkg.in
parent4c08847bfa7776abb884fef289a25c1cef9883fb (diff)
makerepropkg: take makepkg.conf from devtools pkgdatadir location
This ensures we use the same configuration for reproducing packages as we use for building them via devtools. One example of why we care about this are the COMPRESS* settings that may differ from the guest's pacman shipped makepkg.conf that affect the reproducibility of packages.
Diffstat (limited to 'makerepropkg.in')
-rwxr-xr-xmakerepropkg.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/makerepropkg.in b/makerepropkg.in
index 121456c..26534b6 100755
--- a/makerepropkg.in
+++ b/makerepropkg.in
@@ -153,8 +153,7 @@ for fname in "${installed[@]}"; do
exit 1
fi
done
-printf '%s\n' "${allpkgfiles[@]}" | mkarchroot -U "${archroot_args[@]}" "${buildroot}"/root - || exit 1
-
+printf '%s\n' "${allpkgfiles[@]}" | mkarchroot -M @pkgdatadir@/makepkg-x86_64.conf -U "${archroot_args[@]}" "${buildroot}"/root - || exit 1
# use makechrootpkg to prep the build directory
makechrootpkg -r "${buildroot}" -l "${chroot}" -- --packagelist || exit 1