summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-16 15:52:04 +0200
committerErich Eckner <git@eckner.net>2018-05-29 09:02:49 +0200
commit472b0e98a87c9fc942db930a4d5c3f34a88d2169 (patch)
treec0902d5d62f55370ca973d4138829b267a393e4a /archbuild.in
parent75cd26b393b4dc5903a3894c34ac2287b6ae4d5b (diff)
downloaddevtools-472b0e98a87c9fc942db930a4d5c3f34a88d2169.tar.xz
revert eab5aba9b027a7689acaf2382a04ff69b5b8771e - it does not work with sudo-1.8.23-1v20180528archlinux32/v20180528
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/archbuild.in b/archbuild.in
index 73ae65d..7e1a964 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -45,7 +45,7 @@ while getopts 'hcr:' arg; do
esac
done
-check_root SOURCE_DATE_EPOCH
+check_root
if [ "${arch}" = "x86_64" ]; then
cache_dir=''
@@ -100,10 +100,5 @@ else
pacman --arch ${arch} -Syu --noconfirm || abort
fi
-# Always build official packages reproducibly
-if [[ ! -v SOURCE_DATE_EPOCH ]]; then
- export SOURCE_DATE_EPOCH=$(date +%s)
-fi
-
msg "Building in chroot for [%s] (%s)..." "${repo}" "${arch}"
exec makechrootpkg -r "${chroots}/${repo}-${arch}" "${makechrootpkg_args[@]}"