fosslinux / live-bootstrap

Use of a Linux initramfs to fully automate the bootstrapping process
482 stars 32 forks source link

Simplify + Sustainability #334

Closed fosslinux closed 8 months ago

fosslinux commented 9 months ago

This is still fairly rough around the edges; but all of the core functionality I wanted has been implemented.

This does not create any meaningful change to the bootstrap path used. Rather this is a fairly significant refactor of live-bootstrap to make it easier to reason about, more sustainable to make changes to in the future, and fix a number of long-standing issues.

TODOS

eduardosm commented 9 months ago

HELP NEEDED - kernel bootstrap mode is broken ?!. Consistently segfaults just into fiwix. statically compiled bash binary segfaults. memory mapping issue ?? not sure what's going on here

In order to make this a bit easier, I think some parts of this PR can be splitted to their own PRs, reducing the amount of changes introduced by this PR and hopefully making it easier to pinpoint the source of the problem.

However, that would require rebasing this PR and conflicts are expected, but I can help with that.

fosslinux commented 9 months ago

I'm in the process of cleaning up the commit history for this PR, and fixing little bits and pieces.

I think I've split out everything from this PR that can be logically split out.

We have as dependencies for this PR;

fosslinux commented 9 months ago

Only large remaining error is fiwix -> linux not working. This is in the process of being fixed.

fosslinux commented 9 months ago

I'm fairly happy with this now. CI is obviously broken but I would still like to limit the scope of this PR.