Commit Graph

2562 Commits

Author SHA1 Message Date
Anton Hvornum a85517513d
Merge pull request #379 from SecondThundeR/multi-select-update
Update generic_multi_select and generic_select
2021-05-12 10:33:57 +00:00
advaithm 69d079e63a
some type hint fixes and a bad catch fix 2021-05-12 15:45:45 +05:30
Anton Hvornum f45f036b65
Merge pull request #420 from satai/master
add dmenu dependency to i3 profile
2021-05-12 07:49:49 +00:00
Anton Hvornum 08121c88a4
Merge pull request #418 from dylanmtaylor/graphics-driver-list
Change graphics driver selection based on #414
2021-05-11 22:24:11 +00:00
Anton Hvornum 129ceaea8b Renamed keyboard-language to keyboard-layout to avoid confusion. Added encryption checks for disk layout selection, if disk encryption password is given - but no partitions were found using encryption, the user will be asked which partitions to encrypt - unless there's only /boot and /<root> then we'll automatically select /<root> because that's what we support for now. 2021-05-11 13:37:08 +02:00
Anton Hvornum e6c28a94ee Fixed line-ending issue after using generic_multi_select() 2021-05-11 11:48:44 +02:00
Anton Hvornum 4b6e312cfa Flipped log level logic. 2021-05-11 11:41:43 +02:00
Anton Hvornum 20d9858cf6 Spelling errors, and filtered the output a bit. 2021-05-11 09:53:18 +02:00
Anton Hvornum dd52bfb3a7 Tested the workflow, and it works pretty decent. There's some kinks to work out. Added BlockDevice().size as well. 2021-05-10 19:21:05 +02:00
Anton Hvornum 4aaaa3208b Tested creating partitions and deleting them. Kinda works now. 2021-05-10 16:44:01 +02:00
Anton Hvornum 6d5d9a1798 Added Partition() properties: sector_size, start, end, boot, partition_type and a __dump__() function. As well as kept working on the partition logic of guided to have a more traditional workflow of adding/deleting partitions in a guided manner, as well as the ability to mark partitions as encrypted/boot and set target mountpoints. 2021-05-10 14:32:39 +02:00
Anton Hvornum 3e601ff9ab Added a soft-wrapper around parted logic. This logic will guide users through setting up partitions, if they chose to wipe a drive. We'll avoid doing to much auto-magic, and this is just a start. 2021-05-10 10:14:33 +02:00
aboven 24a14d1800 fix error when to many options and calculation spaces 2021-05-08 13:18:03 +02:00
Anton Hvornum d6f63375c6 Splitting up partitioning logic some more. 2021-05-07 16:38:46 +02:00
SecondThundeR 493814d8bd Add default graphics card driver option 2021-05-06 21:38:20 +03:00
Anton Hvornum 8925be6c87 Adding in partition layout structure 2021-05-06 15:18:57 +02:00
Anton Hvornum c20be61e12 Removed obsolete variable in prep for multi-disk support. 2021-05-06 14:20:20 +02:00
Ondřej Nekola 3c23f5e810 add dmenu dependency to i3 profile
dmenu is configured as the default launcher (Penguin-SPACE key)
in the default i3 configuartion.
2021-05-06 13:01:43 +02:00
Dylan Taylor 900827a926 Change graphics driver selection based on #414 2021-05-05 11:31:24 -04:00
Anton Hvornum 8bc3dd685e Beginning work on simplifying disk process in guided.py by reducing complexity and code logic. 2021-05-05 15:06:47 +02:00
Anton Hvornum a0947f527a Allow for multiple disks to be selected (to span partitions such as boot across multiple block devices) 2021-05-05 13:56:24 +02:00
Anton Hvornum 469ab8d15a Moved around the function calls to be more logical and separated. Also moved the target-mount -> target-mountpoint as a parameter for the actual installation. 2021-05-04 11:45:21 +02:00
Anton Hvornum 52ac03d952
Merge pull request #408 from dylanmtaylor/patch-5
Fix #406
2021-05-02 20:02:21 +00:00
Anton Hvornum 49c4e61973 Moved around some blocks 2021-05-02 21:58:43 +02:00
Anton Hvornum 033b74f7c3
Rename Untitled Diagram.svg to BlockDeviceSelection.svg 2021-05-02 21:04:10 +02:00
Anton Hvornum 0293fd0933 Adding flowcharts for disk selection 2021-05-02 20:57:43 +02:00
Dylan M. Taylor d27fe9715f Attempt to fix #406
I think this should fix the comment Torxed made
2021-05-01 09:31:18 -04:00
Anton Hvornum 7f2334bbfe
Merge pull request #409 from archlinux/torxed-partitioning
Adds partition layout to the install logs before and after installation
2021-05-01 10:13:33 +00:00
Anton Hvornum ea0d0a8817 Merge branch 'master' of https://github.com/archlinux/archinstall into torxed-partitioning 2021-05-01 12:12:10 +02:00
Anton Hvornum b58bec202a
Merge pull request #405 from dylanmtaylor/patch-3
Tweak wording of superuser prompt for better consistency
2021-05-01 09:49:36 +00:00
Anton Hvornum 960dc5a08d
Merge pull request #403 from builder-247/builder-247-syntax-error
Fix syntax error
2021-05-01 09:48:49 +00:00
Dylan M. Taylor 4efa01c4fd
Make the style of the word superuser consistent 2021-04-30 22:42:08 -04:00
Dylan M. Taylor feae13ac84
Tweak wording for superuser prompt a little bit 2021-04-30 22:34:54 -04:00
builder_247 8f4b8fd5ff
Fix syntax error 2021-05-01 00:36:40 +03:00
SecondThundeR efadd4a426 Revert disabling default sorting
This change reverts a previous change that disabled sorting by default in the multi select function, which would be better disabled manually for pre-sorted lists than manually enabling for unsorted lists.

Also, comments of the line check have been slightly changed
2021-04-30 22:31:31 +03:00
Anton Hvornum 33a3f80391 Adding support for kernel params 2021-04-30 17:11:25 +02:00
Anton Hvornum cccb6bd5b3 Moved/Created mkinitcpio func 2021-04-30 17:04:55 +02:00
Anton Hvornum acf85f254a Moved mkinitcpio variables
They now live as a installation-session variable. Not just minimal installation.
2021-04-30 16:55:33 +02:00
Anton Hvornum 404197dc93 Enabling --plugins filtering 2021-04-30 16:45:42 +02:00
Anton Hvornum 25b699b44e Automatic loading of plugins 2021-04-30 15:33:26 +02:00
Anton Hvornum fcff362b9a
Merge pull request #398 from dylanmtaylor/patch-5
Partially revert hasUEFI grub/efibootmgr change to fix GRUB
2021-04-30 08:08:00 +00:00
Dylan M. Taylor e488ad8ec4
Change how efibootmgr is installed
Make changes suggested by Torxed
2021-04-29 20:03:25 -04:00
Anton Hvornum 7c57fff8b2
Merge pull request #394 from dylanmtaylor/patch-2
typo: none 0 is incorrect grammar
2021-04-29 23:00:49 +00:00
Anton Hvornum 3e518be7ce
Merge pull request #396 from dylanmtaylor/patch-3
Add cockpit application profile
2021-04-29 23:00:33 +00:00
Dylan M. Taylor 4ce97aaa8c
Partially revert hasUEFI grub/efibootmgr change to fix GRUB 2021-04-29 16:59:43 -04:00
Anton Hvornum 5194fdc75c
Merge pull request #397 from dylanmtaylor/patch-4
Fix i3
2021-04-29 18:41:47 +00:00
Anton Hvornum fb0ced900f
Merge pull request #391 from dylanmtaylor/patch-1
Implement server top-level profile
2021-04-29 18:38:28 +00:00
SecondThundeR ea14e860c7 Update `user_interaction.py`
- Reverted some changes for default options in multi select
- Added check for dict and convert from dict to list
- Replaced spaces with tabs for certain comment line
2021-04-29 19:49:08 +03:00
SecondThundeR 5f1156f80e Fix multi select and video card driver selection
Changes:
- Rephrased input text for kernel selection
- Fixed crash with empty video card driver selection
- Removed log info for default option
2021-04-29 19:49:08 +03:00
SecondThundeR 5c8748dbb5 Update generic_select
Changes:
- Moved some functions for options below checks for the correctness of passed options
- Removed unnecessary `continue` from `except ...`, since the loop will return to the beginning anyway
- Added stripping of `selected_option` straight on input
- Changed check `len() == 0` to `not ...`
- Returned changing string to number on check
===
- Removed '!' as they look weird inside such ` * ... * ` log style (Change for generic_multi_select)
2021-04-29 19:49:07 +03:00