Revert "build_image: Temporarily nobble condition around generate_update"

This reverts commit 94f95acdc7.
This commit is contained in:
James Le Cuirot 2025-03-19 14:31:52 +00:00 committed by Sayan Chowdhury
parent 33ced76b95
commit 80dfea84b0
No known key found for this signature in database
GPG Key ID: B02399319CD05C8B

View File

@ -177,8 +177,7 @@ if [[ "${PROD_IMAGE}" -eq 1 ]]; then
if [[ ${FLAGS_extract_update} -eq ${FLAGS_TRUE} ]]; then
extract_update "${FLATCAR_PRODUCTION_IMAGE_NAME}" "${DISK_LAYOUT}"
fi
# TODO: Un-nobble this later when we have passed the shim review.
if [[ ${FLAGS_generate_update} -eq ${FLAGS_TRUE} ]]; then # && ${COREOS_OFFICIAL:-0} -ne 1 ]]; then
if [[ ${FLAGS_generate_update} -eq ${FLAGS_TRUE} && ${COREOS_OFFICIAL:-0} -ne 1 ]]; then
generate_update "${FLATCAR_PRODUCTION_IMAGE_NAME}" "${DISK_LAYOUT}"
fi
if [[ "${PROD_TAR}" -eq 1 ]]; then