Everything needed to build DivestOS, a more private and more secure aftermarket mobile operating system.
Go to file
steadfasterX 30859d2c08
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-22 10:24:18 +02:00
Container Sync deps 2023-08-26 12:49:10 -04:00
Logs Update CVE patchers 2024-04-16 08:41:35 -04:00
Manifests Picks 2023-12-03 19:08:52 -05:00
Misc apex signing updates 2024-04-09 13:25:56 -04:00
Patches Optimize images 2024-04-21 14:30:59 -04:00
PrebuiltApps@0df1188635 Update CVE patchers 2024-03-31 09:56:56 -04:00
Scripts fix-up & enhance advanced error handling 2024-04-22 10:24:18 +02: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 Certificate Authority store updates 2023-06-17 15:13:54 -04:00
LICENSE Certificate Authority store updates 2023-06-17 15:13:54 -04: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
TODO-device_additions name: otter 2024-03-18 19:37:14 +00:00

Banner

Please see the website for documentation