Install and launch init.qcom.early_boot.sh from /vendor

Change-Id: Icca1263378b9acfe65ba2028180c4f8e03e78e60
This commit is contained in:
Abhishek Arpure 2017-05-13 13:23:32 -07:00 committed by Vara Prasad A V S G
parent 5740d71f57
commit 9ae7c4a58a
3 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@ LOCAL_MODULE := init.qcom.early_boot.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.early_boot.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)

View File

@ -1,5 +1,6 @@
#!/system/bin/sh
# Copyright (c) 2012-2013,2016-2017 The Linux Foundation. All rights reserved.
#! /vendor/bin/sh
# Copyright (c) 2012-2013,2016 The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:

View File

@ -60,7 +60,7 @@ on early-boot
write /sys/kernel/boot_adsp/boot 1
write /sys/kernel/boot_cdsp/boot 1
write /sys/kernel/boot_slpi/boot 1
exec u:r:qti_init_shell:s0 -- /init.qcom.early_boot.sh
exec u:r:qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh
on boot
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power