Commit Graph

2430 Commits

Author SHA1 Message Date
advaithm 63a94a5770
add efibootmgr only on uefi systems 2021-04-21 13:35:03 +05:30
advaithm a694daec5d
some more grammer fixes 2021-04-20 22:09:27 +05:30
Anton Hvornum 752d7b7a8d
Merge pull request #327 from dylanmtaylor/patch-4
Fix budgie.py merge issue
2021-04-20 16:30:00 +00:00
Dylan M. Taylor b46afad1af
Fix budgie.py merge issue 2021-04-20 12:27:17 -04:00
advaithm 85c5275a8f
added return true 2021-04-20 21:23:11 +05:30
advaithm a02c35920d
added return true 2021-04-20 21:21:17 +05:30
advaithm 85a8215eb7
fixed some weird grammer 2021-04-20 21:06:57 +05:30
advaithm e2444de5a2
added /mnt to grubcfg genration 2021-04-20 21:06:31 +05:30
advaithm b4312ab95d
removed unnessacry --target 2021-04-20 20:46:49 +05:30
advaithm 8b723c25e2
changed some strings 2021-04-20 20:36:26 +05:30
advaithm 4a9f56ed2d
fixed shell command in add bootloader 2021-04-20 20:26:19 +05:30
advaithm 64a785e0ec
reworked how we remove efimanager 2021-04-20 20:01:15 +05:30
advaithm adeae68123
reworked how we remove efimanager and add grub 2021-04-20 19:58:23 +05:30
advaithm 264db25eef
call hasUEFI 2021-04-20 19:50:12 +05:30
advaithm 47202d9bf9
moved some stuff 2021-04-20 19:46:22 +05:30
advaithm dbb6d630bd
fixed some issues with adding packages 2021-04-20 19:43:23 +05:30
SecondThundeR 8d9a542962 Add clarifying log text for generic_select 2021-04-20 17:10:28 +03:00
advaithm 572ab522fc
we should only look for boot on uefi systems 2021-04-20 19:40:09 +05:30
advaithm fc8960f2a9
we should only look for boot on uefi systems 2021-04-20 19:35:28 +05:30
advaithm 1ea02a7e69
we should only look for boot on uefi systems 2021-04-20 19:27:16 +05:30
advaithm 7872d5b7fa
rebase clean up 2021-04-20 19:23:18 +05:30
advaithm 23704b7908
repharsed some stuff 2021-04-20 18:53:47 +05:30
advaithm 9c400aa727
reworked how we handle bootloaders a little 2021-04-20 18:49:02 +05:30
advaithm 7afba65c26
rebase 2021-04-20 18:43:19 +05:30
Anton Hvornum 636a7b95d5
Merge pull request #317 from insanemal/torxed-v2.2.0
In guided install Non-UEFI installs need to use grub-install
2021-04-20 12:57:46 +00:00
Anton Hvornum f5ef751d53
Merge branch 'torxed-v2.2.0' into torxed-v2.2.0 2021-04-20 12:57:14 +00:00
SecondThundeR 3facc2e58d Fix TabError issue after uncommenting 2021-04-20 15:25:46 +03:00
Anton Hvornum a0552fe8cb
Merge pull request #285 from dylanmtaylor/patch-4
Change from argon2i to argon2id
2021-04-20 12:18:32 +00:00
SecondThundeR 06e846796d Fix infinite loop on incorrect input of gateway IP 2021-04-20 15:07:52 +03:00
SecondThundeR 1d37e5a49e Uncomment new check for gateway IP address 2021-04-20 15:02:11 +03:00
SecondThundeR 1d04c92258 Add sort parameter for generic_select
Updated required features to support these change
2021-04-20 14:45:54 +03:00
Anton Hvornum 2b7face252 Merging in PR #312 - Add Deepin desktop 2021-04-20 10:03:58 +02:00
SecondThundeR d2eacffff8 Update some functions
Here are list of changes:
- Added IP/subnet validation using Python's `ipaddress` module
- Added workaround for network configuration modes where user can enter DHCP or IP without brackets.
- Returned local printing options for some functions to keep `The above list...`
- Moved booleans for `generic_select` below options and text parameters
- Imported some functions from `archinstall` to reduce the`archinstall.` part of the lines.
- Reduced variable name length for simplicity
- Fixed some typos
2021-04-19 20:34:35 +03:00
Anton Hvornum ee1464aeaf
Merge pull request #321 from SecondThundeR/patch-1
Fix typo in partition.format()
2021-04-19 10:07:23 +00:00
SecondThundeR a316846121 Replace input with generic_select where necessary
Here are list of changes:
> From now on, `generic_select` will be called "Select function", for clarity

- Slightly updated select function
- Removed options output for some functions, where it's better to do with select function
- Added sorting for all lists passed to select function
- Replaced `dict.values()` with `dict` as options parameter
- Simplified input checking for all functions that use the select function
- Added temporary *(for now)* workaround for passing `?` and `help` inputs
- Merged fix for `partition.format()`
2021-04-17 16:35:21 +03:00
Владислав 3fba787396
Fix typo in partition.format() 2021-04-17 15:49:58 +03:00
SecondThundeR 9991b19a06 Initial rework of generic_select function
Here are list of changes:
- Removed `sort` parameter, since every function has a sorted list in most cases
- Added two new parameters to disable local output of options items and allow empty input from the user by returning None
- Added a while loop, where it returns each time a RequirementError is raised
- Added log info for each input error to help figure out what the problem is
- Changed the check of the stripped input length to compare with 0, since the length cannot be less than 0
- Changed `isdigit` to `isnumeric`, which returns False if given digit is negative
- Slightly changed a check for an out of range error
- Removed displaying the list of available options when input is incorrect, in order to prevent the screen from overflowing
- Added log info if options list is empty
- Added log info if options are not dictionary or list
- Added dictionary values conversion to accept only list and dictionaries as option
- Added sorting dictionary values by default
2021-04-17 12:54:04 +03:00
Anton Hvornum 7be93adb99
Merge pull request #320 from SecondThundeR/language-select-fix
Fix selecting language layout by name
2021-04-17 08:03:45 +00:00
Anton Hvornum 9ed29df852
Merge pull request #319 from archlinux/torxed-master-merge
Torxed master merge
2021-04-17 08:02:46 +00:00
Anton Hvornum c63d2140a4 Removed merge artifact. 2021-04-17 09:59:51 +02:00
Владислав 6e5ea3aa65
Fix selecting language layout by name 2021-04-17 10:56:46 +03:00
Anton Hvornum 5fba277dda Merging in master to feature branch. 2021-04-17 09:52:09 +02:00
Malccolm Haak e32dbfbd10 Package called grub not grub-install 2021-04-17 14:38:00 +10:00
Malccolm Haak 77894df51c Whitespace needs to be tabs. Added test for UEFI, if not found add grub-install to pacstrap install 2021-04-17 14:37:14 +10:00
Malccolm Haak 80a3ca3826 In guided install Non-UEFI installs need to use grub-install as its the only supported bootloader that doesn't require UEFI 2021-04-17 14:23:39 +10:00
Aggam Rahamim 8b9f16a028 removed new line when ask for kernel 2021-04-16 14:43:17 +03:00
Aggam Rahamim 81b0fa1792 fixed mkinitcpio 2021-04-16 14:31:59 +03:00
Aggam Rahamim f6fdc11927 fixing - letting user choose kernel 2021-04-16 13:54:22 +03:00
Anton Hvornum a7c0142099
Adding debug data to the log. It will now contain lsblk before and after the installation to help with detecting any potential information. Also removed a traceback log that was for debugging purposes. 2021-04-16 11:48:24 +02:00
Aggam Rahamim 459f161cf0 added option to choose kernel 2021-04-16 12:01:20 +03:00