From 6e50a3024c6d987d514955f707376ed88c08c547 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Tue, 28 Feb 2023 10:44:34 +0100 Subject: [PATCH] profiledef: honor SOURCE_DATE_EPOCH Signed-off-by: Peter Jung --- archiso/profiledef.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiso/profiledef.sh b/archiso/profiledef.sh index b123242..a471986 100644 --- a/archiso/profiledef.sh +++ b/archiso/profiledef.sh @@ -2,10 +2,10 @@ # shellcheck disable=SC2034 iso_name="cachyos" -iso_label="COS_$(date +%y%m)" +iso_label="COS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)" iso_publisher="CachyOS " iso_application="CachyOS 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') ## GRUB