davinci: Add init.recovery.qcom.rc
Change-Id: Ib6904420afbb15f81b6a238225f75165d1f09257
This commit is contained in:
parent
3eefee6e89
commit
aa57d3d050
@ -288,6 +288,9 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
librecovery_updater_xiaomi
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
init.recovery.qcom.rc
|
||||
|
||||
# RenderScript
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.renderscript@1.0-impl
|
||||
|
9
rootdir/Android.mk
Normal file
9
rootdir/Android.mk
Normal file
@ -0,0 +1,9 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := init.recovery.qcom.rc
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := etc/init.recovery.qcom.rc
|
||||
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)
|
||||
include $(BUILD_PREBUILT)
|
7
rootdir/etc/init.recovery.qcom.rc
Normal file
7
rootdir/etc/init.recovery.qcom.rc
Normal file
@ -0,0 +1,7 @@
|
||||
on fs
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||||
|
||||
on init
|
||||
setprop sys.usb.configfs 1
|
||||
setprop sys.usb.controller ${ro.boot.usbcontroller}
|
Loading…
Reference in New Issue
Block a user