Merge "Revert "Determine build_ota_package based on recovery.fstab install location"" into main
diff --git a/core/Makefile b/core/Makefile
index 795750c..ada5be5 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -5650,7 +5650,7 @@
build_ota_package := false
endif
endif # INSTALLED_BOOTIMAGE_TARGET == ""
- ifeq ($(filter $(TARGET_RECOVERY_ROOT_OUT)/system/etc/recovery.fstab,$(INTERNAL_RECOVERYIMAGE_FILES)),)
+ ifeq ($(recovery_fstab),)
build_ota_package := false
endif
endif # PRODUCT_BUILD_GENERIC_OTA_PACKAGE