From 21ef8aa1fec174d5c1aa812db373068aab21d505 Mon Sep 17 00:00:00 2001 From: Abhishek Arpure Date: Sat, 13 May 2017 13:43:39 -0700 Subject: [PATCH] Install and launch init.qcom.sh from /vendor. Change-Id: Idd93e47857741403ae3bf0630ab94b2ae1dfe463 --- rootdir/Android.mk | 2 +- rootdir/etc/init.qcom.rc | 2 +- rootdir/etc/init.qcom.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rootdir/Android.mk b/rootdir/Android.mk index d1026a2a..d2320d41 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -90,7 +90,7 @@ LOCAL_MODULE := init.qcom.sh LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.qcom.sh -LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) include $(BUILD_PREBUILT) include $(CLEAR_VARS) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 49d10fb4..7bdd38fa 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -831,7 +831,7 @@ on property:drmdiag.load=1 on property:drmdiag.load=0 stop drmdiag -service qcom-sh /system/bin/sh /init.qcom.sh +service qcom-sh /vendor/bin/init.qcom.sh class late_start user root oneshot diff --git a/rootdir/etc/init.qcom.sh b/rootdir/etc/init.qcom.sh index d10771dc..4bf9772d 100644 --- a/rootdir/etc/init.qcom.sh +++ b/rootdir/etc/init.qcom.sh @@ -1,4 +1,5 @@ -#!/system/bin/sh +#! /vendor/bin/sh + # Copyright (c) 2009-2016, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without