installer: Use UTC timestamps in the Release file
Fixes the "Invalid 'Date' entry in Release File /var/lib/apt/lists/partial/_run_live_medium_dists_bookworm_Release" message when running 'apt-get update'
This commit is contained in:
parent
5004fe3a15
commit
f4b19cd8bf
|
@ -861,10 +861,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 ${DATE_UTC_OPTION} -d@${SOURCE_DATE_EPOCH})" \
|
||||
-o APT::FTPArchive::Release::Date="$(date -R --utc -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 ${DATE_UTC_OPTION} -d@${SOURCE_DATE_EPOCH})" \
|
||||
-o APT::FTPArchive::Release::Description="Last updated: $(date -R --utc -d@${SOURCE_DATE_EPOCH})" \
|
||||
release dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION} > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/Release
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in New Issue