configs/*/profiledef.sh: honor SOURCE_DATE_EPOCH
Ensure the **correct** date is used in `iso_label` and `iso_version`.
This commit is contained in:
parent
28d2bc11e3
commit
7c6f266ec9
@ -19,6 +19,7 @@ Changed
|
||||
|
||||
- Identify the ISO volume via a UUID instead of a file system label to avoid collisions of multiple ISOs created in the
|
||||
same month.
|
||||
- Honor ``SOURCE_DATE_EPOCH`` in the ``date`` command used by ``profiledef.sh`` of the shipped profiles.
|
||||
|
||||
Removed
|
||||
-------
|
||||
|
@ -2,10 +2,10 @@
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
iso_name="archlinux-baseline"
|
||||
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 baseline"
|
||||
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'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user