fosslinux / live-bootstrap

Use of a Linux initramfs to fully automate the bootstrapping process
286 stars 26 forks source link

Add interactive "configurator" #468

Closed fosslinux closed 1 month ago

fosslinux commented 1 month ago

This is a more UX-friendly glorified bootstrap.cfg editor. Somewhat inspired by kconfig.

Mostly complete, but WIP still

Known bugs:

Depends on oriansj/M2libc#

Googulator commented 1 month ago

Did you test if this actually works with kernel bootstrap? At that point, we're still running on builder-hex0, which may not support keyboard input.

ajherchenroder commented 1 month ago

If possible, I would like to see this split out into it's own option. This would allow both an interactive editor and a scripted build that can end in an interactive environment.

fosslinux commented 1 month ago

I'm a fair bit more happy with the state of this now. It works under builder-hex0, at a later stage, and doesn't run if you do use rootfs.py to generate a complete bootstrap.cfg file. There is a separate variable toggling use of configurator.

I believe that perhaps this may have pushed Fiwix over the ramdisk size as far as I can tell, but retesting that now. Planning to do a little bit more testing but would appreciate re-reviews at this point.