klte-common: Move thermal-engine configs to vendor/

* Auto-hex thermal-engine on extract

Change-Id: I373b8a3933a3e5ce58783c8914f4d85f35ad36bf
This commit is contained in:
Kevin F. Haggerty 2017-12-26 07:01:07 -07:00
parent 0b73a22c27
commit 44c978a05d
2 changed files with 4 additions and 1 deletions

View File

@ -59,6 +59,9 @@ sed -i 's|system/etc|vendor/etc|g;
s|/system/lib|/vendor/lib|g;
s|/system/cameradata|/vendor/cameradata|g' "$MMCAMERA2_SENSOR_MODULES"
THERMAL_ENGINE="$COMMON_BLOB_ROOT"/vendor/bin/thermal-engine
sed -i 's|/system/etc|/vendor/etc|g' "$THERMAL_ENGINE"
# Reinitialize the helper for device
setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT"

View File

@ -153,7 +153,7 @@ PRODUCT_PACKAGES += \
# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine-8974.conf:system/etc/thermal-engine-8974.conf
$(LOCAL_PATH)/configs/thermal-engine-8974.conf:system/vendor/etc/thermal-engine-8974.conf
# USB
PRODUCT_PACKAGES += \