Everything needed to build DivestOS, a more private and more secure aftermarket mobile operating system.
Go to file
steadfasterX d812305b49
fix-up & enhance advanced error handling
new (internal used) functions:
- _exit
- _exit_report
- _exit_sigint

these are used to fix several (wrong) error handlings.

new environment variable:
- UNATTENDED_PATCHING

by default we assume unattended patching, i.e. if an error occurs during
the patch, reset or any other process we will report the error and
auto close the shell. this is needed as we source functions and code and
so cannot simply terminate a master process. instead the whole shell will
be terminated so if an error occurs nothing else will be executed (and you
should notice easily that something is wrong).

without that a (serious) error can still continue the rest of a function
and you likely not even noticing the error itself.

you can use:

export UNATTENDED_PATCHING=0

before or after sourcing init.sh and it will *NOT* auto-close the shell.
that way you can check the output and fix any issues.

Signed-off-by: steadfasterX <steadfasterX@gmail.com>
2024-04-11 17:01:12 +00:00
Logs Updates, logging, and churn 2023-03-31 12:38:46 -04:00
Manifests More drops 2023-03-25 22:45:10 -04:00
Misc Fixes 2023-03-20 17:51:09 -04:00
Patches Updates, logging, and churn 2023-03-31 12:38:46 -04:00
PrebuiltApps@0022d96ba9 Drop devices working on 20.0 2023-03-25 17:04:25 -04:00
Scripts fix-up & enhance advanced error handling 2024-04-11 17:01:12 +00:00
.gitignore Update CVE patchers 2021-11-26 11:54:59 -05:00
.gitmodules Submodule updates 2019-03-20 22:43:38 -04:00
fix_permissions.sh Updates, logging, and churn 2023-03-31 12:38:46 -04:00
LICENSE Fix fix 2022-12-15 17:47:53 -05:00
LICENSE.Apache-2.0 Update license 2019-05-09 06:43:09 -04:00
LICENSE.GPL-3.0 Use clearer SPDX identifiers 2021-04-22 13:15:43 -04:00
LICENSE.Unsplash Minor changes 2019-09-05 04:23:28 -04:00
README.md Add a README 2022-07-28 19:21:31 -04:00
TODO Small tweaks 2021-12-31 21:39:04 -05:00

Banner

Please see the website for documentation