With the previous install script we'd try to mount /system
which is in fstab on lineage recovery, but on Q and up recoveries
recovery has it's own /system and all the executables are in
/system/bin rather than /sbin, resulting in tools like "chcon"
missing after mounting /system
Also on dynamic partitions devices /system is not in fstab
due to the block device being only created when logical
partitions are mapped, support that case as well
Most of the code is taken from
https://gitlab.com/MindTheGapps/vendor_gapps/-/blob/tau/build/meta/com/google/android/update-binary
pull/53/head
Tim Zimmermann2 years agocommitted byFriendlyNeighborhoodShane