diff options
-rwxr-xr-x | scripts/build/installer_debian-installer | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer index b40b15c6e..6ef511a2d 100755 --- a/scripts/build/installer_debian-installer +++ b/scripts/build/installer_debian-installer @@ -467,6 +467,7 @@ EOF rm -f chroot/binary.sh mv chroot/root/binary ./ + touch "binary/${INDICE_DIR}/Packages" -d@${SOURCE_DATE_EPOCH} gzip -9 -c "binary/${INDICE_DIR}/Packages" > "binary/${INDICE_DIR}/Packages.gz" # Fetching release @@ -674,6 +675,7 @@ EOF mv chroot/root/binary.udeb ./ cd binary.udeb + touch "${UDEB_INDICE_DIR}/Packages" -d@${SOURCE_DATE_EPOCH} gzip -9 -c "${UDEB_INDICE_DIR}/Packages" > "${UDEB_INDICE_DIR}/Packages.gz" rm -f Packages* exclude @@ -714,10 +716,10 @@ cd /root/binary && apt-ftparchive \ -o APT::FTPArchive::Release::Suite="${_SUITE}" \ ${_LB_APT_VERSION_OPT} \ -o APT::FTPArchive::Release::Codename="${LB_PARENT_DISTRIBUTION_BINARY}" \ - -o APT::FTPArchive::Release::Date="$(date -R)" \ + -o APT::FTPArchive::Release::Date="$(date -R ${DATE_UTC_OPTION} -d@${SOURCE_DATE_EPOCH})" \ -o APT::FTPArchive::Release::Architectures="${LB_ARCHITECTURE}" \ -o APT::FTPArchive::Release::Components="${LB_PARENT_ARCHIVE_AREAS}" \ - -o APT::FTPArchive::Release::Description="Last updated: $(date -R)" \ + -o APT::FTPArchive::Release::Description="Last updated: $(date -R ${DATE_UTC_OPTION} -d@${SOURCE_DATE_EPOCH})" \ release dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION} > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/Release EOF |