Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/profiledef.sh
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2023-01-28 20:54:32 +0200
committernl6720 <nl6720@gmail.com>2023-02-22 18:03:13 +0200
commit7c6f266ec94e3eff23466ed8d0c45e4bee0ddae4 (patch)
treea1c56e7bd1682c41e3533fa9a73da5ccc8849592 /configs/releng/profiledef.sh
parent28d2bc11e3dc4a86667a8f5f379d8ac9c18c0a03 (diff)
configs/*/profiledef.sh: honor SOURCE_DATE_EPOCH
Ensure the **correct** date is used in `iso_label` and `iso_version`.
Diffstat (limited to 'configs/releng/profiledef.sh')
-rw-r--r--configs/releng/profiledef.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/releng/profiledef.sh b/configs/releng/profiledef.sh
index 4b4e68c..4154816 100644
--- a/configs/releng/profiledef.sh
+++ b/configs/releng/profiledef.sh
@@ -2,10 +2,10 @@
# shellcheck disable=SC2034
iso_name="archlinux"
-iso_label="ARCH_$(date +%Y%m)"
+iso_label="ARCH_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
iso_publisher="Arch Linux <https://archlinux.org>"
iso_application="Arch Linux Live/Rescue CD"
-iso_version="$(date +%Y.%m.%d)"
+iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
install_dir="arch"
buildmodes=('iso')
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'