summaryrefslogtreecommitdiff
path: root/init.recovery.common.rc
diff options
context:
space:
mode:
authorjonglin_lee <jonglin_lee@htc.com>2016-05-06 18:27:24 +0800
committerEd Tam <etam@google.com>2016-05-09 21:25:47 +0000
commit9b0aa9d6d02c751a342818c472fdca624df3a02c (patch)
tree93ef43068561e8e66a4701a04f5d5ba9d0f4f106 /init.recovery.common.rc
parent8ed81a7e22f5d9604670fc63f51cca9f84b542c3 (diff)
marlin: symlink bootdevice in recovery
Bug: 28639949 Bug: 28433543 Change-Id: I17a351601408aefd0bcd5fc5ebde05fb55363fc2
Diffstat (limited to 'init.recovery.common.rc')
-rw-r--r--init.recovery.common.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.recovery.common.rc b/init.recovery.common.rc
new file mode 100644
index 00000000..40946271
--- /dev/null
+++ b/init.recovery.common.rc
@@ -0,0 +1,3 @@
+on fs
+ wait /dev/block/platform/soc/${ro.boot.bootdevice}
+ symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice