From 7e3a5404af4fb71d7988c7d4267167e6e5f1a0e6 Mon Sep 17 00:00:00 2001 From: Vachounet Date: Wed, 3 Jan 2018 12:42:38 +0100 Subject: [PATCH] sanders: move check_features script to vendor/bin --- device.mk | 2 +- releasetools/releasetools.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device.mk b/device.mk index 7422e7e..444e66a 100644 --- a/device.mk +++ b/device.mk @@ -325,7 +325,7 @@ PRODUCT_COPY_FILES += \ # Releasetools script PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/check_features.sh:install/bin/check_features.sh + $(LOCAL_PATH)/configs/check_features.sh:system/vendor/bin/check_features.sh # RIL PRODUCT_PACKAGES += \ diff --git a/releasetools/releasetools.py b/releasetools/releasetools.py index 68fcec3..cce8acd 100644 --- a/releasetools/releasetools.py +++ b/releasetools/releasetools.py @@ -23,6 +23,6 @@ def FullOTA_InstallEnd(info): def ReplaceDeviceConfig(info): info.script.Mount("/system") info.script.AppendExtra('ui_print("Checking NFC and compass support");') - info.script.AppendExtra('run_program("/sbin/sh", "/tmp/install/bin/check_features.sh");') + info.script.AppendExtra('run_program("/sbin/sh", "/system/vendor/bin/check_features.sh");') info.script.Unmount("/system") - \ No newline at end of file +