Commit Graph

1214 Commits

Author SHA1 Message Date
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 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
Anton Hvornum a156f224a8
Fixing un-encrypted drives matching on block encrypted. 2021-03-29 08:56:41 +02:00
Anton Hvornum 6cba404b75
Merge pull request #120 from Torxed/torxed-patch-sunday
Torxed patch sunday
2021-03-28 21:15:54 +00:00
Anton Hvornum 37ad64147f
Added some more useful debug data to the log. 2021-03-28 23:10:23 +02:00
Anton Hvornum 0637ab6eb0
Adding debug to correct for a potential issue where partitions get marked as encrypted even tho \!disk-password was neven set. 2021-03-28 23:03:41 +02:00
Anton Hvornum 9c44ab85ce
Version bump in prep for minor patch release. 2021-03-28 22:38:15 +02:00
Anton Hvornum 37a6018aae
Fixed a path-check issue with Time Zones. 2021-03-28 22:36:47 +02:00
Anton Hvornum 89a2e1eb2b
Fixes an issue with completely empty hard drives
If empty hard drives are being set up for the first time, then `.has_content()`'s `mount` call will fail with `wrong fstype` since there's no filesystem yet. First step in this case is to check for that scenario, then check for content.
2021-03-24 15:49:54 +01:00
Anton Hvornum 037332a18d
Removed vfat as an option for the root partition 2021-03-24 15:26:32 +01:00
Anton Hvornum 197b690456
Update README.md 2021-03-24 14:50:10 +01:00
Anton Hvornum 326e5699ed
Removed an obsolete link to archlinux.life
Since the package is now in the official repo's, there's no need to host pre-built ISO's for the tool.
2021-03-24 14:42:17 +01:00
Anton Hvornum 36585c0489
Update __init__.py 2021-03-23 21:15:31 +01:00
Anton Hvornum becd29fa54 Also setting cwd (bad choice of name) to the workdir if one was specified. Which makes the trace.log to end up in the workdir as well. 2021-03-23 14:22:38 +01:00
Anton Hvornum b672efdf6b Enabling archinstall.sys_command() to get a working directory when executing. The sys_command() is working pretty well for this very specific need, but this is an attempt to making it a bit more generic. A more general overhaul of the command should be done at some point. 2021-03-23 14:18:03 +01:00
Anton Hvornum aceb0f3e98 Corrected recursion loop in log() calling log() before setting the new path for the log file on errors. 2021-03-23 11:42:12 +01:00
Anton Hvornum c5f6c4b712 Partially corrects for #116. We still don't detect if we're running as root (need to investigate if we need to run as root first). But this should at least hot-swap the log-file to the current working directory and place the logfile there. 2021-03-23 11:28:52 +01:00
Anton Hvornum 233886f9c5
Created a GitHub action to publish to pypi 2021-03-22 13:58:35 +01:00
Anton Hvornum e0611c276c
Updated versions in PKGBUILDs and VERSION. 2021-03-21 21:53:24 +01: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 fd4594d08c
Added a mkinitcpio configuration for non-btrfs volumes but where encryption is still used. Also added keymap to the HOOKS so that we can get non-us layouts depending on the locale chosen during installation. 2021-03-21 20:56:15 +01:00
Anton Hvornum 795b1ef55b
Added the latest installments of contributors. 2021-03-21 19:56:42 +01:00
Anton Hvornum 7c54b4ce72
Merge pull request #118 from Torxed/torx-fix-profile-issues
Fixed profile issues as well as partition cache issues. Also added some more debug logs for support cases.
2021-03-21 17:52:59 +01:00
Anton Hvornum 83c0ee4b22
Removed some debugging output. 2021-03-21 17:26:29 +01:00