Browse Source

ether: init: symlink platform/soc/${ro.boot.bootdevice} to bootdevice

Make symbolic link from
/dev/block/platform/soc/${ro.boot.bootdevice} to
/dev/block/bootdevice.

Change-Id: I7b7f4c728656103445e7fb68ccca92402fa36ff5
Woody Lin 2 years ago
parent
commit
51222e91fa
2 changed files with 4 additions and 1 deletions
  1. 0
    1
      BoardConfig.mk
  2. 4
    0
      twrp/recovery/root/init.recovery.twrp.rc

+ 0
- 1
BoardConfig.mk View File

@@ -120,7 +120,6 @@ DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml
120 120
 DEVICE_MATRIX_FILE := $(LOCAL_PATH)/compatibility_matrix.xml
121 121
 
122 122
 # Init
123
-TARGET_PLATFORM_DEVICE_BASE := /devices/soc.0/
124 123
 
125 124
 # Keymaster
126 125
 TARGET_PROVIDES_KEYMASTER := true

+ 4
- 0
twrp/recovery/root/init.recovery.twrp.rc View File

@@ -1,3 +1,7 @@
1
+on fs
2
+    wait /dev/block/platform/soc.0/${ro.boot.bootdevice}
3
+    symlink /dev/block/platform/soc.0/${ro.boot.bootdevice} /dev/block/bootdevice
4
+
1 5
 service sbinqseecomd /sbin/qseecomd
2 6
     oneshot
3 7
     disabled