Install init.qcom.debug.sh to /vendor.

Change-Id: I1543d4b21c82069ebd24a8211a28a4bf2dc2767c
This commit is contained in:
Abhishek Arpure 2017-05-13 13:54:36 -07:00 committed by Vara Prasad A V S G
parent dc91d071c2
commit d4b5cf42ac
3 changed files with 5 additions and 3 deletions

View File

@ -184,6 +184,7 @@ LOCAL_MODULE := init.qcom.debug.sh
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.debug.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)

View File

@ -1,4 +1,5 @@
#!/system/bin/sh
#! /vendor/bin/sh
# Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without

View File

@ -28,14 +28,14 @@
write /proc/sys/kernel/kptr_restrict 0
# Coresight early boot service
service cs-early-boot /system/bin/sh /persist/coresight/qdss.agent.sh early-boot /system/etc/init.qcom.debug.sh
service cs-early-boot /vendor/bin/sh /persist/coresight/qdss.agent.sh early-boot /vendor/bin/init.qcom.debug.sh
class core
user root
oneshot
seclabel u:r:qti-testscripts:s0
# Coresight post boot servive
service cs-post-boot /system/bin/sh /persist/coresight/qdss.agent.sh post-boot /system/etc/init.qcom.debug.sh
service cs-post-boot /vendor/bin/sh /persist/coresight/qdss.agent.sh post-boot /vendor/bin/init.qcom.debug.sh
user root
disabled
oneshot