Commit 66c8eee0 authored by Jelle van der Waa's avatar Jelle van der Waa
Browse files

bin: set PACKAGER to a valid string for Arch Linux

When building an Arch Linux package a warning is shown about an invalid
PACKAGER string since pacman 5.2.0 add an email address to the env
variable to make this warning go away:

==> WARNING: PACKAGER should have the format 'Example Name <email@address.invalid>'
parent 95c9006e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ if [ "$HOSTNAME" = "osuosl-build170-amd64" ] ; then
	export GIT_SSL_NO_VERIFY=1
fi

$ROOTCMD sed -i 's/^#PACKAGER\s*=.*/PACKAGER="Reproducible Arch Linux tests"/' /etc/makepkg.conf
$ROOTCMD sed -i 's/^#PACKAGER\s*=.*/PACKAGER="Reproducible Arch Linux tests <reproducible@archlinux.org>"/' /etc/makepkg.conf

$ROOTCMD sed -i "s|^#XferCommand = /usr/bin/curl |XferCommand = /usr/bin/curl --proxy $http_proxy |" /etc/pacman.conf
if [ "$HOSTNAME" = "osuosl-build170-amd64" ] ; then