forked from openkylin/platform_build
Merge \"Track the name change for wipe_ab.\" into nyc-mr1-dev
am: 943f19868a
Change-Id: I1e760f39750b1decdb8a13a7697a82e845027036
This commit is contained in:
commit
f2edbceb76
|
@ -927,10 +927,10 @@ recovery_fstab := $(TARGET_RECOVERY_FSTAB)
|
|||
else
|
||||
recovery_fstab := $(strip $(wildcard $(TARGET_DEVICE_DIR)/recovery.fstab))
|
||||
endif
|
||||
ifdef TARGET_RECOVERY_BRICK
|
||||
recovery_brick := $(TARGET_RECOVERY_BRICK)
|
||||
ifdef TARGET_RECOVERY_WIPE
|
||||
recovery_wipe := $(TARGET_RECOVERY_WIPE)
|
||||
else
|
||||
recovery_brick :=
|
||||
recovery_wipe :=
|
||||
endif
|
||||
|
||||
# Prior to A/B update, we used to have:
|
||||
|
@ -1017,8 +1017,8 @@ define build-recoveryimage-target
|
|||
cp -rf $(item) $(TARGET_RECOVERY_ROOT_OUT)/$(newline))
|
||||
$(hide) $(foreach item,$(recovery_fstab), \
|
||||
cp -f $(item) $(TARGET_RECOVERY_ROOT_OUT)/etc/recovery.fstab)
|
||||
$(if $(strip $(recovery_brick)), \
|
||||
$(hide) cp -f $(recovery_brick) $(TARGET_RECOVERY_ROOT_OUT)/etc/recovery.brick)
|
||||
$(if $(strip $(recovery_wipe)), \
|
||||
$(hide) cp -f $(recovery_wipe) $(TARGET_RECOVERY_ROOT_OUT)/etc/recovery.wipe)
|
||||
$(hide) cp $(RECOVERY_INSTALL_OTA_KEYS) $(TARGET_RECOVERY_ROOT_OUT)/res/keys
|
||||
$(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \
|
||||
> $(TARGET_RECOVERY_ROOT_OUT)/default.prop
|
||||
|
|
Loading…
Reference in New Issue