c63fa8441bb5ad1fc4fb68155a5e5166aa25cac0
For scripts declaring ADDOND_VERSION=3 automatically mount vendor, product, system_ext and others (when they're dedicated partitions). Also expose the get_output_path() function to get the path to where a file is mounted in case it lives in a dedicated partition. ab exapmles: get_output_path "system/product/priv-app/MyApp.apk" = "/postinstall/product/priv-app/MyApk.apk" get_output_path "system/app/MySystemApp.apk" = "/postinstall/system/app/MySystemApp.apk" a-only examples: get_output_path "/mnt/system/system/product/priv-app/MyApp.apk" = "/mnt/system/system/product/priv-app/MyApp.apk" ****************************************************************** Instead of cycling all scripts for each stage, run pre-backup -> backup -> post-backup in quick succession (and likewise for restore), to ensure backwards compatibility with scripts that wrongly assumed their environment not to change between steps. This is needed because we want to undo any mounting done for V3 scripts when executing V2 scripts. If a V2 script did mounting in pre-restore and expected things to still be mounted in restore, we would break their (yes incorrect) assumption. Change-Id: I73fbad6f45824fed99e4482128769435348588f5
LineageOS =========== Getting started --------------- Please see the [LineageOS Wiki](https://wiki.lineageos.org/) for building instructions, by device. Submitting patches ------------------ Patches are always welcome! Please submit your patches via LineageOS Gerrit! Simply follow our guide on [how to submit patches](https://wiki.lineageos.org/submitting-patch-howto.html). To view the status of your and others' patches, visit [LineageOS Gerrit Code Review](https://review.lineageos.org/). Buildbot -------- All supported devices are built weekly and periodically as changes are committed to ensure the source trees remain buildable. You can view the current build statuses at [LineageOS Buildkite](https://buildkite.com/lineageos). Builds produced weekly by the buildbot can be downloaded from [LineageOS downloads](https://download.lineageos.org/).
Description
Languages
Shell
43.1%
Makefile
42.8%
Python
9.1%
Go
5%