universal7580: recovery: Symlink platform/13540000.dwmmc0 to bootdevice
authorWoody Lin <woody_lin@htc.com>
Fri, 26 Feb 2016 10:16:00 +0000 (10:16 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 10 Mar 2020 15:25:59 +0000 (15:25 +0000)
Make symbolic link from
/dev/block/platform/13540000.dwmmc0 to /dev/block/bootdevice.

Change-Id: I399c08e75eabf8d1db105225ac012da3e0a2efb3

ramdisk/etc/init.recovery.samsungexynos7580.rc

index c60e8f38ad572d9813d088e0e4dec9c86c949efa..9fd43a90cf4f70a92a39263511a6d29c3558268b 100644 (file)
@@ -1,6 +1,10 @@
 on fs
     setprop sys.usb.ffs.aio_compat 1
 
+    wait /dev/block/platform/13540000.dwmmc0
+    symlink /dev/block/platform/13540000.dwmmc0 /dev/block/bootdevice
+    symlink /dev/block/platform/13540000.dwmmc0/by-name/SYSTEM /dev/block/platform/13540000.dwmmc0/by-name/system
+
 on post-fs-data
     # avoid USB crash
     setprop persist.adb.nonblocking_ffs 0