summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xch5
1 files changed, 5 insertions, 0 deletions
diff --git a/ch b/ch
index fb5ac1e..c875649 100755
--- a/ch
+++ b/ch
@@ -46,6 +46,11 @@ if [[ ! -d "$CHROOTS" ]]; then
return 1
fi
+# Always build official packages reproducibly
+if [[ ! -v SOURCE_DATE_EPOCH ]]; then
+ export SOURCE_DATE_EPOCH=$(date +%s)
+fi
+
__genchroot() {
sudo btrfs subvolume snapshot "$chrootdir/root" "$copydir"
}