forked from openkylin/platform_build
Merge "Revert "Add timestamp to ramdisk.""
This commit is contained in:
commit
fa1349600e
|
@ -1851,15 +1851,6 @@ $(INSTALLED_RECOVERY_BUILD_PROP_TARGET): \
|
||||||
$(hide) cat $(INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET) >> $@
|
$(hide) cat $(INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET) >> $@
|
||||||
$(call append-recovery-ui-properties,$(PRIVATE_RECOVERY_UI_PROPERTIES),$@)
|
$(call append-recovery-ui-properties,$(PRIVATE_RECOVERY_UI_PROPERTIES),$@)
|
||||||
|
|
||||||
# Only install boot/etc/build.prop to recovery image on recovery_as_boot.
|
|
||||||
# On device with dedicated recovery partition, the file should come from the boot
|
|
||||||
# ramdisk.
|
|
||||||
ifeq (true,$(BOARD_USES_RECOVERY_AS_BOOT))
|
|
||||||
INSTALLED_RECOVERY_RAMDISK_BUILD_PROP_TARGET := $(TARGET_RECOVERY_ROOT_OUT)/$(RAMDISK_BUILD_PROP_REL_PATH)
|
|
||||||
$(INSTALLED_RECOVERY_RAMDISK_BUILD_PROP_TARGET): $(INSTALLED_RAMDISK_BUILD_PROP_TARGET)
|
|
||||||
$(copy-file-to-target)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq (truetrue,$(strip $(BUILDING_VENDOR_BOOT_IMAGE))$(strip $(AB_OTA_UPDATER)))
|
ifeq (truetrue,$(strip $(BUILDING_VENDOR_BOOT_IMAGE))$(strip $(AB_OTA_UPDATER)))
|
||||||
INTERNAL_RECOVERYIMAGE_ARGS := --ramdisk $(recovery_ramdisk)
|
INTERNAL_RECOVERYIMAGE_ARGS := --ramdisk $(recovery_ramdisk)
|
||||||
ifdef GENERIC_KERNEL_CMDLINE
|
ifdef GENERIC_KERNEL_CMDLINE
|
||||||
|
@ -1904,7 +1895,6 @@ $(recovery_ramdisk): $(MKBOOTFS) $(COMPRESSION_COMMAND_DEPS) \
|
||||||
$(recovery_sepolicy) \
|
$(recovery_sepolicy) \
|
||||||
$(INSTALLED_2NDBOOTLOADER_TARGET) \
|
$(INSTALLED_2NDBOOTLOADER_TARGET) \
|
||||||
$(INSTALLED_RECOVERY_BUILD_PROP_TARGET) \
|
$(INSTALLED_RECOVERY_BUILD_PROP_TARGET) \
|
||||||
$(INSTALLED_RECOVERY_RAMDISK_BUILD_PROP_TARGET) \
|
|
||||||
$(recovery_resource_deps) \
|
$(recovery_resource_deps) \
|
||||||
$(recovery_fstab)
|
$(recovery_fstab)
|
||||||
# Making recovery image
|
# Making recovery image
|
||||||
|
|
|
@ -1745,7 +1745,6 @@ else ifeq (,$(TARGET_BUILD_UNBUNDLED))
|
||||||
$(INSTALLED_PRODUCT_BUILD_PROP_TARGET):build.prop-product \
|
$(INSTALLED_PRODUCT_BUILD_PROP_TARGET):build.prop-product \
|
||||||
$(INSTALLED_ODM_BUILD_PROP_TARGET):build.prop-odm \
|
$(INSTALLED_ODM_BUILD_PROP_TARGET):build.prop-odm \
|
||||||
$(INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET):build.prop-system_ext \
|
$(INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET):build.prop-system_ext \
|
||||||
$(INSTALLED_RAMDISK_BUILD_PROP_TARGET):build.prop-ramdisk \
|
|
||||||
$(BUILT_TARGET_FILES_PACKAGE) \
|
$(BUILT_TARGET_FILES_PACKAGE) \
|
||||||
$(INSTALLED_ANDROID_INFO_TXT_TARGET) \
|
$(INSTALLED_ANDROID_INFO_TXT_TARGET) \
|
||||||
$(INSTALLED_MISC_INFO_TARGET) \
|
$(INSTALLED_MISC_INFO_TARGET) \
|
||||||
|
|
|
@ -429,13 +429,3 @@ $(eval $(call build-properties,\
|
||||||
$(_prop_files_),\
|
$(_prop_files_),\
|
||||||
$(_prop_vars_),\
|
$(_prop_vars_),\
|
||||||
$(empty)))
|
$(empty)))
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
|
||||||
# ramdisk/boot/etc/build.prop
|
|
||||||
#
|
|
||||||
|
|
||||||
RAMDISK_BUILD_PROP_REL_PATH := boot/etc/build.prop
|
|
||||||
INSTALLED_RAMDISK_BUILD_PROP_TARGET := $(TARGET_RAMDISK_OUT)/$(RAMDISK_BUILD_PROP_REL_PATH)
|
|
||||||
$(eval $(call build-properties,\
|
|
||||||
bootimage,\
|
|
||||||
$(INSTALLED_RAMDISK_BUILD_PROP_TARGET)))
|
|
||||||
|
|
Loading…
Reference in New Issue