From: Marc Bourgoin Date: Thu, 25 Jun 2020 02:15:33 +0000 (-0400) Subject: g12: Symlink bootdevice for Lineage Recovery X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2bbefb4ad1aced327f24e774b6ec15a87f3807a2;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12: Symlink bootdevice for Lineage Recovery * It is needed by OpenGApps install script. Change-Id: Idb90a6ecaae541e74a9878c1ca93459cc2fdd949 --- diff --git a/init-files/init.recovery.amlogic.rc b/init-files/init.recovery.amlogic.rc index 46c982c..c1663f1 100644 --- a/init-files/init.recovery.amlogic.rc +++ b/init-files/init.recovery.amlogic.rc @@ -6,6 +6,8 @@ on init chmod 0777 /sbin/remotecfg on fs + wait /dev/block/platform/${ro.boot.boot_devices} + symlink /dev/block/platform/${ro.boot.boot_devices} /dev/block/bootdevice on post-fs-data chown system system /sys/class/android_usb/android0/f_mass_storage/lun/file