klte-common: Drop the hacky deferred initcalls trigger script
* Yes, I could do the sepolicy that lets this run correctly, but why? Even if the phone takes 0.5s longer to boot, will you really even notice? We are going to disable the deferred initcalls in the kernel and let it do its thing the more "normal" way. Change-Id: I2a9c50f12f4309923f3cdf6e646cad8edf717560
This commit is contained in:
parent
18cd7a3e13
commit
cf10d879d0
4 changed files with 0 additions and 17 deletions
1
klte.mk
1
klte.mk
|
@ -107,7 +107,6 @@ PRODUCT_PACKAGES += \
|
|||
fstab.qcom \
|
||||
init.qcom.rc \
|
||||
init.qcom.usb.rc \
|
||||
init.sec.boot.sh \
|
||||
ueventd.qcom.rc
|
||||
|
||||
# Thermal
|
||||
|
|
|
@ -32,10 +32,3 @@ LOCAL_MODULE_CLASS := ETC
|
|||
LOCAL_SRC_FILES := etc/ueventd.qcom.rc
|
||||
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := init.sec.boot.sh
|
||||
LOCAL_MODULE_TAGS := optional eng
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := etc/init.sec.boot.sh
|
||||
include $(BUILD_PREBUILT)
|
||||
|
|
|
@ -1010,11 +1010,6 @@ service charger /charger
|
|||
class charger
|
||||
seclabel u:r:charger:s0
|
||||
|
||||
service sec-sh /system/bin/sh /system/etc/init.sec.boot.sh
|
||||
class main
|
||||
user root
|
||||
oneshot
|
||||
|
||||
on property:persist.sys.ssr.restart_level=1
|
||||
write /sys/module/subsystem_restart/parameters/restart_level 1
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
# start deferred initcalls
|
||||
cat /proc/deferred_initcalls
|
Loading…
Reference in a new issue