threefoldtech / zos

Autonomous operating system
https://threefold.io/host/
Apache License 2.0
79 stars 12 forks source link

zos bootstrap rewrite #2183

Open xmonader opened 6 months ago

xmonader commented 6 months ago

should be for later

muhamadazmy commented 5 months ago

If we gonna switch to use new fl format this can be a good chance to rewrite the entire bootstrap to embed and use the new fl library.

This also will depend on the new flist server

muhamadazmy commented 1 month ago

Here you can find a basic idea why this issue was created

Why a rewrite is needed

Current bootstrap process is strongly coupled with the HUB. when built in bootstrap process starts it first update itself from latest build from the hub. Then it downloads necessary packages from the hub. This works fine for now but it has the following drawbacks:

Suggestion for the process:

NOTE: this is not an urgent issue, it requires a lot of planning. since we need to know what stores are we gonna use, plan package and geo replication of stores