Add BUILD_DATE to SWI (#11915)

Add the BUILD_DATE to the SWI version info, as this is a requirement of Secure Boot.
This commit is contained in:
Samuel Angebault 2022-09-23 02:52:40 +02:00 committed by GitHub
parent 57ff7a2308
commit 27032bfb84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,6 +191,7 @@ elif [ "$IMAGE_TYPE" = "aboot" ]; then
zip -g $ABOOT_BOOT_IMAGE .imagehash
rm .imagehash
echo "SWI_VERSION=42.0.0" > version
echo "BUILD_DATE=$(date -d "${build_date}" -u +%Y%m%dT%H%M%SZ)" >> version
echo "SWI_MAX_HWEPOCH=2" >> version
echo "SWI_VARIANT=US" >> version
zip -g $OUTPUT_ABOOT_IMAGE version