land: Remove dependency on QCOM post-boot shell script

Refactor all the relevant stuff to init.qcom.power.rc

Change-Id: I6a4a60a8da01e392885ce302300ab0a25d8b30ad
This commit is contained in:
Zhao Wei Liew 2016-11-03 14:49:36 +08:00
parent 06c627fd07
commit 8ccdb7d6be
6 changed files with 7 additions and 2153 deletions

View file

@ -4,7 +4,6 @@ PRODUCT_COPY_FILES += \
# Init scripts
PRODUCT_PACKAGES += \
init.qcom.post_boot.sh \
init.qcom.power.rc
# Properties

View file

@ -81,10 +81,3 @@ LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.fm.sh
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.post_boot.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.post_boot.sh
include $(BUILD_PREBUILT)

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
on property:sys.boot_completed=1
on enable-low-power
# HMP scheduler settings
write /proc/sys/kernel/sched_window_stats_policy 3
write /proc/sys/kernel/sched_ravg_hist_size 3
@ -124,5 +124,11 @@ on property:sys.boot_completed=1
rm /data/system/perfd/default_values
start perfd
on property:sys.boot_completed=1
trigger enable-low-power
swapon_all fstab.qcom
write /proc/sys/vm/swappiness 100
on charger
trigger enable-low-power

View file

@ -832,12 +832,6 @@ service sensor-sh /system/bin/sh /init.qcom.sensors.sh
user root
oneshot
service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh
class late_start
user root
disabled
oneshot
service qti-testscripts /system/bin/sh /system/etc/init.qcom.testscripts.sh
class late_start
user root
@ -858,7 +852,6 @@ service wifi-crda /system/bin/sh /system/etc/init.crda.sh
oneshot
on property:sys.boot_completed=1
start qcom-post-boot
start qti-testscripts
service atfwd /system/bin/ATFWD-daemon

View file

@ -231,7 +231,6 @@ on charger
mount ext4 /dev/block/bootdevice/by-name/system /system ro barrier=1
load_all_props
setprop persist.sys.usb.config mass_storage
start qcom-post-boot
setprop persist.sys.usb.config mass_storage
start hvdcp_opti