Ignore ABL image type creation if building UEFI GRUB target.

This commit is contained in:
Teguh Sobirin
2024-11-28 09:10:23 +07:00
committed by Jianfeng Liu
parent aa1a13c0e3
commit 508c9f7c3a

View File

@@ -5,6 +5,11 @@ function add_host_dependencies__abl_host_deps() {
function post_build_image__900_convert_to_abl_img() {
[[ -z $version ]] && exit_with_error "version is not set"
if [ ! -z "$UEFI_GRUB_TARGET" ]; then
display_alert "Ignore" "${EXTENSION}" "info"
return 0
fi
if [ ! -z "$BOOTFS_TYPE" ]; then
return 0
fi