Everything needed to build DivestOS, a more private and more secure aftermarket mobile operating system.
Go to file
ryneeverett 3999fe1e1f Container: Scripted builds
I had a hard time following the [Build
Guide](https://divestos.org/pages/build) and IMO a script does a much
better job of removing the ambiguity and is more likely to be updated
if it fails. Per
https://github.com/Divested-Mobile/DivestOS-Website/issues/40 I think
this script, as documentation, makes it much more clear what it means to
"color in the lines" and suggests an efficient way of doing so. I'd like
to update the Build Guide too, but I wanted to get your feedback on some
of this first.

The main thing I'm not thrilled with is that the workspace needs to be
patched and reset twice (if I understand correctly). I got this notion
from your guidance on a Reddit post a couple months back which I can't
find now that Reddit seems to have taken down your content.
Unfortunately I don't recall the details but the basic issue is that
generating the signing keys was giving an error and the solution was to
patch the workspace. But one of the workspace patching "phases" is to
copy the keys to the kernel and this fails if the keys don't exist yet.
So it's not clear how to get around doing this step twice.

A couple notes on future work:
- How to do incremental updates? There's no story on this yet and I
  haven't looked into it.
- I found a wealth of information on building android in docker in this
  repository: https://github.com/lineageos4microg/docker-lineage-cicd.
  It might be worth considering trying to integrate DivestOS into that
  project or building on top of their image.
2024-07-26 22:02:12 +00:00
Container Container: Scripted builds 2024-07-26 22:02:12 +00:00
Logs Update CVE patchers 2024-07-24 17:24:31 -04:00
Manifests Backport CarrierConfig2 to 18.1 and 19.1 2024-06-25 08:40:49 -04:00
Misc Cleanup 2024-05-20 13:25:08 -04:00
Patches Update CVE patchers 2024-07-24 17:24:31 -04:00
PrebuiltApps@7b21544394 Update CVE patchers 2024-07-10 15:50:57 -04:00
Scripts Update CVE patchers 2024-07-24 17:24:31 -04:00
.gitignore Update CVE patchers 2021-11-26 11:54:59 -05:00
.gitlab-ci.yml CI: enable shellcheck 2024-05-29 12:04:44 -04:00
.gitmodules Submodule updates 2019-03-20 22:43:38 -04:00
fix_permissions.sh 2024 2024-04-22 07:52:49 -04:00
LICENSE 14.1: July ASB picks 2024-07-04 09:19:46 -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-device_additions name: otter 2024-03-18 19:37:14 +00:00

Banner

Please see the website for documentation