Commit Graph

1245 Commits

Author SHA1 Message Date
Anton Hvornum 0df567286e
Swapped print for log and added return values 2021-04-06 09:54:24 +02:00
Anton Hvornum 2f153d4882
Some language correction and function handling
I more or less copied the language from i3-wm as it was more correct.
Also converted `print()` into `installation.log()` so that we can get some color control and end up in the debug log.
Finally, I added a try/except to handle potential crashes and return return values, since otherwise this would happen every run:
 * https://github.com/archlinux/archinstall/pull/190/files#diff-98d75a109b5337cd7d7c948d2cfc2379bcc51be22dfa3ca6491765f0e0bcaaabR349-R355
2021-04-06 09:53:28 +02:00
advaithm f0e40f5676 added _post_install hook. 2021-04-06 07:21:11 +05:30
advaithm b56f7d0515 fixed subprocess call 2021-04-05 21:28:20 +05:30
advaithm 9404dbe967 Update guided.py 2021-04-05 21:05:15 +05:30
advaithm 947700a605 use subprocess to launch the shell 2021-04-05 21:03:56 +05:30
advaithm 463d1b5fd3 add shell drop for i3 and i3-gaps 2021-04-05 20:58:38 +05:30
advaithm e2a6a85d66 Revert "Fixed issue with no network configueration"
This reverts commit dbe7f3fcb8.
2021-04-05 20:47:42 +05:30
advaithm 4c0c95a88c add i3-wm and i3-gaps support 2021-04-05 20:46:09 +05:30
advaithm dbe7f3fcb8 Fixed issue with no network configueration 2021-04-04 19:20:08 +05:30
Advaith Madhukar 8ad4a7d1c4
fixed network manager check 2021-04-04 14:42:19 +05:30
advaithm 9daa3f4924 fixed some typos and changed up how we detect if we have to enable/install network manager 2021-04-04 09:26:28 +05:30
advaithm f42d52624e moved around the if block 2021-04-04 09:08:17 +05:30
advaithm 454d712d08 fixed typo 2021-04-04 09:03:49 +05:30
advaithm 9e3ded8311
install networkmanager, if required 2021-04-04 08:54:35 +05:30
advaithm ae5f9b08c4
updated guided.py to allow network manager as nic 2021-04-04 07:33:17 +05:30
advaithm 374cbfc20d Revert "Revert "added hardwareincompatibilty erros and updated readme""
This reverts commit 1592517042.
2021-04-04 07:31:38 +05:30
advaithm 1592517042
Revert "added hardwareincompatibilty erros and updated readme"
This reverts commit b5e32f980a.
2021-04-04 07:28:01 +05:30
advaithm fe237eac3c
networkmanager support 2021-04-04 07:24:52 +05:30
advaithm b5e32f980a
added hardwareincompatibilty erros and updated readme 2021-04-02 10:28:04 +05:30
advaithm 6b218e555b
changed __enter__ 2021-04-02 10:16:48 +05:30
advaithm 655ec06119
accidentlly called dict as function 2021-04-02 10:12:45 +05:30
advaithm b974b93004
fixed some issues with the changes 2021-04-02 10:08:16 +05:30
advaithm f4e616cd9e
updated to latest commits 2021-04-02 09:48:41 +05:30
Anton Hvornum 2c90f02b6b
Merge pull request #132 from kpcyrd/range-check
Add range check to generic_select
2021-03-30 14:57:40 +00:00
kpcyrd 40dbb5791c Add range check to disk selection 2021-03-30 16:24:48 +02:00
kpcyrd 82342a0e94 Add range check to generic_select 2021-03-30 16:12:52 +02:00
Anton Hvornum bb5caf70b7
Merge pull request #125 from Torxed/torxed-v2.2.3
Fixes encrypted -> non-encrypted setups
2021-03-29 16:19:52 +00:00
Anton Hvornum b03de49f0f Removed debugging and finalized fix. 2021-03-29 18:17:09 +02:00
Anton Hvornum 151c90a56d Added some debugging. 2021-03-29 18:12:05 +02:00
Anton Hvornum a50aa59060
Adding .encrypted logic after .format calls to correctly identify partitions as encrypted/not-encrypted. This after a .flush_cache has been called. 2021-03-29 18:11:46 +02:00
Anton Hvornum 8c8a441c26
Added some debugging. 2021-03-29 18:10:02 +02:00
Anton Hvornum 1b903550b5
Reworking cache logic to not loose .encrypted flag on partitions after flushing cache. 2021-03-29 17:53:30 +02:00
Anton Hvornum 0c86440e2e
Rolling back change to check parent blockdevice for safe formatting, it would wipe the boot partition if the boot partition for multiple drives was shared on the specific drive. 2021-03-29 17:47: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 512f0327f0
Experimenting with cache, carrying over .allow_formatting 2021-03-29 17:34:13 +02:00
Anton Hvornum a0980afff1
Experimenting with carrying over flags across cache flush. This to solve issues when flush is cleared and target mountpoints gets lost, making it impossible to do .find_mountpoint('/') later on for instance. 2021-03-29 17:32:48 +02:00
Anton Hvornum f3907310e3
Allowing individual partitions safety checks to rely on the parent blockdevice keep_partitions status. 2021-03-29 16:59:09 +02:00
Anton Hvornum 5e9c973d42
Added support for flushing a BlockDevice() cache after a partition has been formatted. This is to avoid internal confusion of which partitions are encrypted or not when going from Encrypted -> Un-encrypted setups. 2021-03-29 16:51:30 +02:00
Anton Hvornum d26c1f820d
Toned down the debugging a bit. 2021-03-29 16:11:30 +02:00
Anton Hvornum 39cb0b94d9
Moved some debugging to catch more variable settings. 2021-03-29 15:57:31 +02:00
Anton Hvornum 0e26975247
Adding callstack to debug output for easier debugging. Removed hardcoded debug crash 2021-03-29 15:55:36 +02:00
Anton Hvornum e94a8d8b25
Debugging 2021-03-29 13:16:42 +02:00
Anton Hvornum 4c5be61918
Merge pull request #123 from Torxed/torxed-v2.2.3
Reverting .strip() logic and moving the check into the get_password()…
2021-03-29 08:21:42 +00:00
Anton Hvornum 70480d4681
Merge pull request #122 from Didr/patch-1
Fix spelling error in filesystem choice
2021-03-29 08:21:06 +00:00
Anton Hvornum 36dfa2e1c4
Reverting .strip() logic and moving the check into the get_password() function. 2021-03-29 10:20:35 +02:00
Didr f452dc695a
Fix spelling error in filesystem choice
Fixes a simple spelling error when the user is asked to select a filesystem.
"Select which filesystem your main partition should use (by number **of** name)" should be **or**.
2021-03-29 10:16:20 +02:00
Anton Hvornum 5e3a152364
Merge pull request #121 from Torxed/torxed-v2.2.3
Torxed v2.2.3
2021-03-29 07:35:04 +00:00
Anton Hvornum ed565e1348
Adding some overclarification to encryption checks. 2021-03-29 09:33:58 +02:00
Anton Hvornum 3161cd8aff
Fixing rare occation where partitions dissapear just before .format(). 2021-03-29 09:09:25 +02:00