Commit Graph

1241 Commits

Author SHA1 Message Date
Anton Hvornum bf4c32e2e0 Forgot option PARTUUID to lsblk 2021-04-03 18:34:51 +02:00
Anton Hvornum cba30b9e26 Merge branch 'master' of github.com:Torxed/archinstall 2021-04-03 16:22:19 +02:00
Anton Hvornum b2927a5067
This should fix #151, by using lsblk instead of /dev/disk/by-partuuid. It also cleaned up the installer code quite a bit during the bootloader installation. Will do the same for encrypted drives later on by implementing UUID on a BlockDevice (disk) level. 2021-04-03 16:22:09 +02:00
Anton Hvornum 746cd64785
Merge pull request #148 from Didr/editorconfig
Create .editorconfig
2021-04-03 13:33:45 +00:00
Anton Hvornum 2bf947ba05
This should correct #152. When a newly /boot partition is created with no content or incorrect filesystem (meaning, no file system yet), the .has_content() call will crash due to incorrect fstype. Which means we should be able to skip the check and assume it's safe to format. Because there's no way (?) other OS:es can store something on the boot partition on a broken FS. 2021-04-03 15:32:06 +02:00
Anton Hvornum 7333fe109c
Converted the raise exception into a log. Whenever blockdevice is unsure of what type it's working on, it will not log it as a debug message. 2021-04-03 15:18:35 +02:00
Anton Hvornum 1c3287bc81
Removed a breaking change while fixing hardware raids 2021-04-03 15:11:10 +02:00
Anton Hvornum 67bb00c655
This partially addresses #151. Which might require more than just the path being returned. As the blkid might not be correctly identifying it in the bootloader step. But we'll have to test and see. 2021-04-03 14:59:40 +02:00
Anton Hvornum 7ae9696f13
This should correct #135. I'll have to investigate other places where this logic might be as well and correct those. 2021-04-03 14:04:18 +02: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
Didr 2f24898eb7
Create .editorconfig 2021-04-03 04:52:01 +02:00
Anton Hvornum 428bf16868 Moving the CODEOWNERS file again 2021-04-02 22:01:07 +02:00
Anton Hvornum b46e0ca7bc
Moved the CODEOWNERS file. 2021-04-02 21:25:22 +02:00
Anton Hvornum fba2def861
Update CODEOWNERS 2021-04-02 21:21:12 +02:00
Anton Hvornum 105922fd2a
Update CODEOWNERS 2021-04-02 21:20:54 +02:00
Anton Hvornum e2c40b5208
Update CODEOWNERS 2021-04-02 21:20:40 +02:00
Anton Hvornum 6e0efa6973
Create CODEOWNERS 2021-04-02 21:19:40 +02:00
Anton Hvornum f95faa7724
Merge pull request #143 from pyfisch/cryptsetup-nits
Join cryptsetup args using shlex
2021-04-02 18:09:40 +00:00
Anton Hvornum fa90f4118d
Removed legacy link called workstation.json #142 2021-04-02 20:06:08 +02:00
Pyfisch cf4745bbb6 Join cryptsetup args using shlex
Ensure that all arguments are properly quoted.
Improve readability by using long-form arguments only.
Use identical arguments for both cryptsetup calls,
to prevent them from accidentally diverging in future commits.
2021-04-02 18:19:25 +02:00
Anton Hvornum 0488c93a50
Merge pull request #134 from conqp/master
General code cleanup
2021-04-02 09:01:07 +00:00
Anton Hvornum 5f9966b5c1
Merge pull request #136 from Torxed/torxed-135
Missing variable
2021-04-02 08:58:58 +00:00
Anton Hvornum 2fd570167d
Merge pull request #138 from kusakata/fix-doc-issues
Fix doc issues
2021-04-02 08:57:45 +00:00
Shohei Kusakata cd3553ad89 Fixing short title underline warning 2021-04-02 10:50:07 +09:00
Shohei Kusakata 94042517a4 Fixing document interlink error 2021-04-02 10:47:21 +09:00
Anton Hvornum ef7f2f53b1
Missing variable
This should fix #135
2021-04-01 22:12:52 +02:00
Richard Neumann c0cfa7ae92 Remove useless __init__ methods 2021-04-01 20:46:28 +02:00
Richard Neumann cab8c7d43a Move class-related docstring to class definition 2021-04-01 20:45:45 +02:00
Richard Neumann 1d54a625f4 Simplify boolean checks 2021-04-01 20:31:29 +02:00
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