mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Add update_engine_client, update_engine_sideload, bootctl.
update_engine_client and bootctl will be included in debuggable builds only. - update_engine_client allows talking to update_engine directly; - bootctl talks to boot control HAL and queries its state. update_engine_sideload goes into recovery image. - update_engine_sideload is to allow sideloading OTAs under recovery. Test: `m dist` Change-Id: I692e1fb54fa41d7b19e1f2cf2a7ddaf7cf8cb41a
This commit is contained in:
14
device.mk
14
device.mk
@@ -101,6 +101,20 @@ AB_OTA_POSTINSTALL_CONFIG += \
|
||||
FILESYSTEM_TYPE_system=ext4 \
|
||||
POSTINSTALL_OPTIONAL_system=true
|
||||
|
||||
# Enable update engine sideloading by including the static version of the
|
||||
# boot_control HAL and its dependencies.
|
||||
PRODUCT_STATIC_BOOT_CONTROL_HAL := \
|
||||
bootctrl.msm8998 \
|
||||
libgptutils \
|
||||
libsparse
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
update_engine_sideload
|
||||
|
||||
# The following modules are included in debuggable builds only.
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
bootctl \
|
||||
update_engine_client
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
||||
|
||||
Reference in New Issue
Block a user