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 Ying Xie
parent 08da4efe34
commit 43e1a9837e

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