From 131a39d63370b3553c8a865132c19abe497dd656 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Thu, 27 Dec 2018 14:39:29 +0100 Subject: [PATCH] make_mirror.sh: export SOURCE_DATE_EPOCH for debootstrap --- make_mirror.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make_mirror.sh b/make_mirror.sh index 1a2e6a1..428b50e 100755 --- a/make_mirror.sh +++ b/make_mirror.sh @@ -256,6 +256,7 @@ for dist in stable testing unstable; do #!/bin/sh set -eu export LC_ALL=C.UTF-8 +export SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH debootstrap --no-merged-usr --variant=$variant $dist /tmp/debian-$dist-debootstrap $mirror tar --sort=name --mtime=@$SOURCE_DATE_EPOCH --clamp-mtime --numeric-owner --one-file-system -C /tmp/debian-$dist-debootstrap -c . > "cache/debian-$dist-$variant.tar" rm -r /tmp/debian-$dist-debootstrap