Revert "Determine build_ota_package based on recovery.fstab install location"
This reverts commit 5f1281714f1bd74f277fee482f629f929f17e22e.
Bug: b/391751162
Reason for revert: Suspect cause of b/391751162. Will not submit until this is confirmed.
Change-Id: I9c96192db4c024d711552d38ade529f943704378
diff --git a/core/Makefile b/core/Makefile
index 8973182..5d82c21 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -5649,7 +5649,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