From 7c6f266ec94e3eff23466ed8d0c45e4bee0ddae4 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sat, 28 Jan 2023 20:54:32 +0200 Subject: configs/*/profiledef.sh: honor SOURCE_DATE_EPOCH Ensure the **correct** date is used in `iso_label` and `iso_version`. --- configs/releng/profiledef.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configs/releng') 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 " 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' -- cgit v1.2.3-70-g09d2