diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog index eeb5a7ec8a00580e52e2ebe91824cf2fad210b00..adbe3c887e394840ed7930f05cec71db7f39bf31 100644 --- a/smartmontools/ChangeLog +++ b/smartmontools/ChangeLog @@ -4,6 +4,7 @@ $Id$ CI: export SOURCE_DATE_EPOCH on macOS as tools are expecting it as an environment variable + macOS: set files timestamps in the ISO to SOURCE_DATE_EPOCH value 2023-09-15 Oleksii Samorukov <samm@os2.kiev.ua> diff --git a/smartmontools/Makefile.am b/smartmontools/Makefile.am index 732f595b939aa7eafa8fe6879a8a7ef0cc37f66a..9a04309fb72fdee26f3174acba9244e474d4bbfe 100644 --- a/smartmontools/Makefile.am +++ b/smartmontools/Makefile.am @@ -1186,6 +1186,7 @@ $(pkg_darwin): # build darwon dmg image $(dmg_darwin): @cp $(srcdir)/os_darwin/pkg/installer/README.html $(distdir_darwin)/dmg + @find $(distdir_darwin)/dmg | xargs touch -d "@${SOURCE_DATE_EPOCH}" @xorriso -as mkisofs -V 'smartmontools' -no-pad -r -o $(distdir_darwin)/smartmontools-$(VERSION).iso \ -hfs-bless "$(distdir_darwin)/dmg/" "$(distdir_darwin)/dmg/" @dmg dmg $(distdir_darwin)/smartmontools-$(VERSION).iso $(dmg_darwin)