Add version file to the SWI required by newer Aboot (#254)

This commit is contained in:
Samuel Angebault 2017-02-03 16:33:33 -08:00 committed by lguohan
parent 92b32fd910
commit e4ed979b83

View File

@ -35,6 +35,9 @@ elif [ "$IMAGE_TYPE" = "aboot" ]; then
echo "$GIT_REVISION" >> .imagehash echo "$GIT_REVISION" >> .imagehash
zip -g $OUTPUT_ONIE_IMAGE .imagehash zip -g $OUTPUT_ONIE_IMAGE .imagehash
rm .imagehash rm .imagehash
echo "SWI_VERSION=42.0.0" > version
zip -g $OUTPUT_ONIE_IMAGE version
rm version
else else
echo "Error: Non supported target platform: $TARGET_PLATFORM" echo "Error: Non supported target platform: $TARGET_PLATFORM"
exit 1 exit 1