-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation and settings need to be ckecked before the installer quits #22
Comments
Yeah, warning might be good. I would not prevent quitting though, because it can be useful. Why would you start over from beginning though? Just mount the partitions without formatting and continue from where you left? |
I wonder if there is a way to make some kind of checklist in the main menu. Just having mention in the exit menu would be easier to code though. Are you sure you want to quit? |
Root has no password |
When I try that m-a will not allow me to install a DE directly. It demands to install base first. Maybe that's also something to reconsider ;) |
Weird. For me it recognizes the already installed base. |
Is it possible that I destroyed the existing base install by just having it mounted as ext4?? |
It is possible, but if you chose skip/none then it was not formatted. Skip/none does not format, everything else does. |
But how would we check if warning is needed? |
I'll think about it and will propose something... - need to dive into the code a little more still ... 😉 |
Nice. Informative and unintrusive. |
We should also check if locales have been generated. Failure to do so breaks stuff like tmux. |
Things to check:
|
Also we should clean up all those temp files ... 😉 |
I started to write the final check:
What would be good way to check if locales have been generated? |
My idea is: When quitting installer, if ${CHECKLIST} is not empty, display it as a part of the "Close installer?"-dialog |
There is now rudimentary final_check function implemented |
quite satisfying for now I would say :) |
Should we also check if a video-driver has been installed - since it will leave the target unbootable to desktop if not? |
Any idea how we could do that? Do we need to touch another marker file in /mnt ? |
I don't know, there are also valid reasons for not installing any driver... Need to look into It further |
Sure you might want to install no video-driver. You'd will simply confirm when the installer exits. |
Touch it only if mhwd command is successful? & & |
yes. something like that. |
I've just added it after the check_for_error functions, so nothing should be touched when error check aborts. |
The installer should not just quit without complaining if something essential has been forgotten, like for example right now you can just quit after installing base and a DE but without installing a bootloader (ok, might make sense) or without having created a user or installing a video-driver ...
It's quite annoying if you have forgotten something and you have to start over again with installing base and so on. You should be warned at least in that case.
The text was updated successfully, but these errors were encountered: