Commit Graph

181 Commits

Author SHA1 Message Date
Anton Hvornum f57b533275 Added some debug output
Adding debug output for additional package selection.
2021-04-09 20:18:14 +02:00
Dylan M. Taylor 6a0b839bc8
pipewire-docs isn't really needed. 2021-04-09 11:59:47 -04:00
Advaith Madhukar b6ad3dffc9 fixed network manager check 2021-04-09 11:50:31 -04:00
advaithm dd61830d2b fixed some typos and changed up how we detect if we have to enable/install network manager 2021-04-09 11:50:31 -04:00
advaithm 55622fd79d install networkmanager, if required 2021-04-09 11:50:31 -04:00
advaithm e1e813fc5e updated guided.py to allow network manager as nic 2021-04-09 11:50:31 -04:00
Anton Hvornum cf1fd9e257 Safety precaution by using .get instead of ["..."] 2021-04-09 11:47:47 -04:00
Dylan Taylor 4c92879c1d Make audio server selection only prompt for desktop profiles 2021-04-09 11:47:35 -04:00
Anton Hvornum dbea18dab8 Switched from print to installation.log 2021-04-09 11:46:53 -04:00
Dylan Taylor d252e090a6 Have pulseaudio installed just in case DEs don't depend on it if pipewire is not requested. 2021-04-09 11:46:47 -04:00
Dylan Taylor 9395d68d5d Try removing pipewire.py and calling add additional packages
Unfortunately, calling the profile was not working.
2021-04-09 11:46:39 -04:00
Dylan M. Taylor b803c281ea Move choice into guided installation instead of DEs
Arch wiki says packages should enable the user services automatically
2021-04-09 11:46:24 -04:00
Anton Hvornum ab2a43e19f Forgot a variable. 2021-04-08 21:33:49 +02:00
Anton Hvornum b5245b31fe
I simplified the countdown, by moving it into it's own function instead of wrapped inside guided.. This can now be used by others for a simple countdown. I also re-worked the minimal.py example to work with the new internal partitioning logic API as well as support some flags from archinstall.arguments to minimize user input requirements to just one single question. This one question will most likely go away too, but stays for simplicity right now. 2021-04-08 21:14:19 +02:00
Dylan Taylor 4059d62e55 Add filtration on top level profile 2021-04-08 09:51:11 -04:00
advaithm 44df0f6046 added _post_install hook. 2021-04-08 09:51:11 -04:00
advaithm a16723abde Update guided.py 2021-04-08 09:51:11 -04:00
Dylan M. Taylor b96ba6e237 Break web browser suggestion into second line to avoid wrapping 2021-04-08 09:20:39 -04:00
Dylan M. Taylor ef2e1fd239 Make the minimal installation example use the minimal profile instead of awesome wm 2021-04-08 09:20:39 -04:00
Anton Hvornum e9a3e8661e Moved the print logic for browser warning 2021-04-08 09:20:39 -04:00
Dylan M. Taylor b483c718da Add a message about specifying a web browser 2021-04-08 09:20:39 -04:00
Zach Osman 69a8730845 Removing background color definitions for all log functions 2021-04-04 16:14:13 -04:00
Anton Hvornum f8fc542fd7
Merge branch 'master' into fix-repo-url 2021-04-04 18:32:59 +00:00
Rafael Fontenelle 5a321d6ce5 Update repo to archlinux/archinstall 2021-04-04 11:52:51 -03:00
Rafael Fontenelle 2b5b1ad83d Fix misspellings 2021-04-04 11:28:54 -03:00
Anton Hvornum bb295cb83a
Fixes #149 as well as --help. This will be added in the next patch release. 2021-04-03 11:25:34 +02:00
Anton Hvornum a29bd75954
Removing a flush of the cache that was excessive. 2021-03-29 17:46:07 +02:00
Anton Hvornum 36dfa2e1c4
Reverting .strip() logic and moving the check into the get_password() function. 2021-03-29 10:20:35 +02:00
Anton Hvornum ed565e1348
Adding some overclarification to encryption checks. 2021-03-29 09:33:58 +02:00
Anton Hvornum a156f224a8
Fixing un-encrypted drives matching on block encrypted. 2021-03-29 08:56:41 +02:00
Anton Hvornum a3aef119b2
Improved english grammar and dialogues. Some 'questions' were formatted in a way where the user would enter 'yes' instead of the expected input. For instance, 'Any additional users to install:' which is a question where 'yes' is a appropriate response, but the expected input was the username to be created. Rephrased it to 'Enter a username to create a additional user:' instead for instance. 2021-03-21 21:30:52 +01:00
Anton Hvornum a75002a36d
Fixed an issue where brand new disks (no partitions), got protected by a safety measurement where .keep_partitions were set to True by default. 2021-03-21 11:12:07 +01:00
Anton Hvornum b67257233f
Fixed #64. installation.set_timezone() already excisted since earlier versions of archinstall in the library section. The guided.py example simply never asked for a time-zone. There's still no NTP option, which I'll add in later. Mostly because there's a lot of settings one can do to a time-client configuration, and I'm not sure all users want the default time servers etc. 2021-03-20 17:26:48 +01:00
Anton Hvornum 61504fc927
Fixed #101. Now warns the users after they skip the network configuration. 2021-03-20 17:12:53 +01:00
Anton Hvornum 54200bf476
Removed evil .format(ext4) which was a remenant from the old days. 2021-03-14 15:39:52 +01:00
Anton Hvornum 51cbec58da
Spelling error. 2021-03-14 15:32:52 +01:00
Anton Hvornum 32ab44e6da
More error handling to encrypted vs not encrypted partitions. 2021-03-14 15:32:22 +01:00
Anton Hvornum 502968b579
Added some error handling to disk encryption passwords. 2021-03-14 15:28:46 +01:00
Anton Hvornum b495b3328e
Added error handling for unlocking an old partition (autodetect feature). 2021-03-14 15:22:25 +01:00
Anton Hvornum 37b1e61828
Corrected some spelling errors and wrong variables. 2021-03-14 14:00:52 +01:00
Anton Hvornum 7ac68b2436
Removed redundant error handling as well as added some more debug logs. 2021-03-14 13:54:01 +01:00
Anton Hvornum 3f8f0020f5 Purged last legacy, setting the root pw 2021-03-09 16:22:36 +01:00
Anton Hvornum aabdce9286 fixed a global variable as well as re-organized the guided.py to better match the flow of steps.. 1) Ask user questions function, 2) Perform installation steps, 3) Perform actual installation 2021-03-09 16:16:05 +01:00
Anton Hvornum 2bd220c280 Moved everything into a function block rather than having everything on a line by line situation. This just helps separate what the two major components/blocks are of the guided profile. The change was done in the previous commit, but a spelling mistake was made here and I forgot to mention it in the already long commit log. But user-questions is now in one function. Installation steps are now in a two-tier function, one for setup and one for install steps. 2021-03-09 16:13:21 +01:00
Anton Hvornum aafe3d19c6 Fixed remaining installation steps and remove legacy references to archinstall.storage['_guided'] and archinstall.storage['_guided_hidden']. Which were great at the time, but they are not deprecated and moved into archinstall.arguments instead to support parameters on command-line. As well as being a bit more description, since they are arguments afterall to various setup instructions. 2021-03-09 16:10:57 +01:00
Anton Hvornum 1167cf589b Fixed mirror-region parameter selection. Converting to actual mirrors. 2021-03-09 14:09:17 +01:00
Anton Hvornum ce646a9394 Forgot a variable. 2021-03-09 11:49:20 +01:00
Anton Hvornum 586f8bc32e Adding enforcement to select a filesystem-type for encrypted volumes unless the specified pasword can be used to unlock the device and auto-detect this. 2021-03-09 11:44:17 +01:00
Anton Hvornum f230140ba9 Removed hardcoded partition numbers when acessing partitions. As the order is not fixed and more options to disk layouts have been added. 2021-03-09 10:50:05 +01:00
Anton Hvornum 1f62a97c90 Marking the root partitions as encrypted if a disk password is set. In the future, we need to make this a bit more flexible by allowing multiple partitions to be encrypted. But for now, the main partition should be enough. 2021-03-09 10:41:57 +01:00