installation and settings need to be ckecked before the installer quits #22
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
applications/manjaro-architect#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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?
You have not installed the base.
You have not installed the bootloader.
You did not install any graphical environment.
Root has no password
you did not crate any users
fstab was not generated
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 says "IMPORTANT: Partitions can be mounted without formatting them by selecting the "SKIP / NONE" option" If that really means that an existing parition is destroyed at that point we'd definitely add another warning during mount!
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 ... 😉
I just added it to the existing feedback 😃
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 can't think of a way how to grep output of
mhwd -liin a helpful way... ?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.
The concern is more that you might have missed to install one when you wanted to 😉
touching a /mnt/.video_installed or so will work of course, although - like our .base_installed will not guarantee that installation was successful. But it would at least be some kind of a reminder and effictive in most cases.
Not perfect - but not too bad?
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.
Added to final check now.