configs/*/profiledef.sh: honor SOURCE_DATE_EPOCH

Ensure the **correct** date is used in `iso_label` and `iso_version`.
This commit is contained in:
nl6720 2023-01-28 20:54:32 +02:00
parent c62e5859d6
commit 46b87073f0
1 changed files with 2 additions and 2 deletions

View File

@ -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'