Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f128171 authored by Jihoon Kang's avatar Jihoon Kang
Browse files

Determine build_ota_package based on recovery.fstab install location

recovery_fstab can be installed even if is not defined via
TARGET_RECOVERY_FSTAB_GENRULE. This change modifies the conditional in
determining build_ota_package to take such scenarios into account.

Test: m otapackage
Change-Id: Ia859b63aab902920ef7f44e4d8e09537e0e9dfad
parent d8b5bade
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5649,7 +5649,7 @@ else
        build_ota_package := false
      endif
    endif # INSTALLED_BOOTIMAGE_TARGET == ""
    ifeq ($(recovery_fstab),)
    ifeq ($(filter $(TARGET_RECOVERY_ROOT_OUT)/system/etc/recovery.fstab,$(INTERNAL_RECOVERYIMAGE_FILES)),)
      build_ota_package := false
    endif
  endif # PRODUCT_BUILD_GENERIC_OTA_PACKAGE