Closed rozniak closed 4 months ago
Rough plan for setup:
Need to consider the AUR, which is another reason I think graphical mode should be compiled/packaged so it can be installed. Should provide some simple shell script that is responsible for chaining phases into the init system which can be run by AUR users to simply skip straight to the configuration portion of setup.
For AUR users it would be something like (setupx
is the script here, not necessarily final):
yay xfce-winxp-tc-git
setupx --aur
All theoretical, I haven't actually tested much of this and how to handle the various init systems supported. I think it should work but that it is the point of these bootstrap tests.
Been chipping away at text-mode - bootstrapping into Python and using the curses
library for the terminal stuff. Seems to work quite well, here's a couple screenshots (they are massive...)
Scripts might be a bit untidy, I don't write that much Python. As long as they work I suppose!
Might merge the current work and look into testing out loading up graphical mode so we have stuff to work with.
Need to test the waters on how text-mode setup, and the setup bootstrapping will work.
Basically setup has to be bootstrapped from a system where there can only be minimal assumptions. Will get something working presumably using
/bin/dash
(cannot rely on Bash in the final setup bootstrapper) to probe things and get stuff moving.Will need to be script based, cannot use pre-compiled binaries for setup due to systems that may use different libc implementations I believe (musl in the case of Alpine Linux).