Set timestamp in embedded files of the installer
This commit is contained in:
parent
15fab34ea2
commit
5636820be5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue