Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
* Save encryption configuration
* Fix deserialization problem
* Added .part_uuid to MapperDev
---------
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
|
|
|
|
* Initial swapfile prototype
* add_swapfile different exception handling
* Added error handling to add_swapfile prototype
---------
Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
|
|
* Generate -fallback variant of boot entries for systemd-boot
---------
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
* Rename "peak_output" to "peek_output"
* Added backwards compatability
* Added deprecated warning to peak_output
---------
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
* Attempting a retry-attempt on the broken part of lsblk
* Improved logging
* Adding a retry to Partition._call_lsblk()
* Added error checks if lsblk returns nothing, also handles empty Partition().info instance.
* Added missing check of disk encryption is None or not.
* Added tweak to catching output from lsblk.stderr
* Added missing check of disk encryption is None or not.
* Fixed a logic test for empty lsblk info
* Fixed instances of None being interated
* Added some errro handling for weird block devices
* Fixed flake8
* Added /etc/vconsole.conf generation in Installer.mkinitcpio() as it's a dependency for it to generate properly without errors. Otherwise we'll get ==> ERRROR: file not found: '/etc/vconsole.conf'
* Prep for tagging RC1 of 2.5.3
* Corrected helpers.py get_blockdevice_info() to deal with empty lsblk results
|
|
* New encryption menu
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
|
|
|
|
* Adding a btrfs compression plugin to genfstab
* Allowing the genfstab plugin to break on success
|
|
|
|
* Changed permissions on the logs stored in /var/log/archinstall. Also cleaned up one of the saves to have the same syntax as the others
* Tweaked secondary encryption password detection logic, as it wouldn't take it from the main arguments[] otherwise.
* Changed permission on cmd_output.txt
* Changed permission on cmd_history.txt
|
|
selected (#1424)
* Attempting fix by looking at the subvolume 'name', <FS_TREE> should indicate it's a root block and not a root subvolume
|
|
* A temporary fix for #1200, in the long run we need something like what was mentioned in the issue comments: https://github.com/archlinux/archinstall/issues/1200#issuecomment-1212754806
* Enabled the use of modifier detection and getting it in right
* Mistaken a split
* Adding less strict decoding of output log, this in order to handle the more correct locale generation introduced in this PR.
|
|
|
|
|
|
|
|
* Fix typos
* Fix check for additional repositories
|
|
|
|
* Converted a path to pathlib.Path
* Using Partition.mountpoints instead of Partition.mountpoint
* Update mapperdev.py
* Added .mountpoints to MapperDev
* Spelling error
|
|
* Changed regex expression only to match [multilib] string
* Update multilib regex expression
* Update regex expression
Add raw string format
|
|
|
|
* Update subvolume
* Add mypy compliance
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
to / (#1281)
|
|
breaking change.
|
|
|
|
|
|
|
|
Fixed issue where `options` wasn't passed as `options=options` and got mixed up as fs-type.
|
|
# Fixes
* Optimized partition lookups
* Fixed re-use of partition UUID's
* `BlockDevice().get_partition()` now supports looking up both `PARTUUID` and `UUID` for a partition under itself
* Partitions listed in `--disk-layout` that doesn't have a PARTUUID/UUID should no longer cause an exception, but instead logs a warning and they will simply be ignored
* `Filesystem().add_partition()` now handles `DiskError` raised by `partition.part_uuid`
* Fixed issue on normal partitions where the device was not properly frozen in `lambda` calls, meaning two or more mount-points shared the same `device_instance`.
* Lowered global `DISK_RETRY_ATTEMPTS` to 5, as the timeouts are linear *(`range(DISK_RETRY_ATTEMPTS) * DISK_TIMEOUTS`)*
|
|
* Rework users
* Update user installation
* Fix config serialization
* Update
* Update schemas and documentation
* Update
* Fix flake8
* Make users mypy compatible
* Fix minor copy
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
|
|
* Restructuring btrfs.py into lib/btrfs/*.py
* Reworking how BTRFS subvolumes get represented, and worked with. Subvolumes are now their own entity which can be used to access it's information, parents or mount location.
* Added BtrfsSubvolume.partition and other stuff.
* Reworking the way luks2().unlock and .format() returns device instances. They should now return BTRFSSubvolume where appropriate.
* Fixed a missing import
* Fixed an issue where mkfs.btrfs wouldn't trigger due to busy disk.
* Fixing subvol mounting without creating a fake instance.
* Added creation of mountpint for btrfs subvolume
* Fixed root detection
* Re-worked mounting into a queue system using frozen mounting calls using lambda
* Removed old mount_subvolume() function
* Removed get_subvolumes_from_findmnt()
* Fixed Partition().subvolumes iteration
* Adding .root to BtrfsSubvolume
* Fixed issue in SysCommandWorker where log output would break and crash execution due to cmd being a string vs list
* Changed return-value from MapperDev.mountpoint to pathlib.Path
|
|
|
|
|
|
* Added a HSM menu entry, but also a safety check to make sure a FIDO device is connected
* flake8 complaints
* Adding FIDO lookup using cryptenroll listing
* Added systemd-cryptenroll --fido2-device=list
* Removed old _select_hsm call
* Fixed flake8 complaints
* Added support for locking and unlocking with a HSM
* Removed hardcoded paths in favor of PR merge
* Removed hardcoded paths in favor of PR merge
* Fixed mypy complaint
* Flake8 issue
* Added sd-encrypt for HSM and revert back to encrypt when HSM is not used (stability reason)
* Added /etc/vconsole.conf and tweaked fido2_enroll() to use the proper paths
* Spelling error
* Using UUID instead of PARTUUID when using HSM. I can't figure out how to get sd-encrypt to use PARTUUID instead. Added a Partition().part_uuid function. Actually renamed .uuid to .part_uuid and created a .uuid instead.
* Adding missing package libfido2 and removed tpm2-device=auto as it overrides everything and forces password prompt to be used over FIDO2, no matter the order of the options.
* Added some notes to clarify some choices.
* Had to move libfido2 package install to later in the chain, as there's not even a base during mounting :P
|
|
* Adding in a re-try on pacstrap calls
* Made pacman -Syy also retry:able
|
|
* Fix small typo in the logging text of CPU vendor check
* Make CPU check logging text unified
|
|
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Added a try-rerun-except block to grub-install first with --removable and then without if it fails. I have a sneaky suspicion that it's due to USB drives being the destination medium, but I cannot confirm yet. I've also added peak_output=True and --debug to GRUB so we can catch the issues in the future.
* Fixed flake8 complaint
|
|
* Adding compression as an option
* Ignore 'misaligned' ending parenthathese
* Moved the 'mark compressed' logic into the sub block within manual disk operations.
* Fixed flake8 complaints
* Muting a complextion warning on manage_new_and_existing_partitions(). It is too complex, but not something that we'll bother with for v2.4.0. As this whole function could be replaced with a new and improved menu system split into tasks rather than one huge if/else.
|
|
|
|
* This should address and resolve #587
* Forgot one line from copying from local test script
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
|
|
* Added error handling to fstab
* Checking the exit code for == 0
|
|
* A problem with default values treatment at superusers (and users) on the main menu
* Solving issues when changing the selection of nic, ask_to_configure_network failed in several places.
Solved, temporarily with the creation of __getitem__ and get methods at NetworkManager
* Accept old style definitions for nic
* flake8 complains
* log string corrected (issue 1039)
* Correct exit when no disk is selected and we don't wish to continue
|
|
* Addresses issue #985: Add sudoers.d file instead of appending to sudoers
* Fixed comment
* Added string safety check for illegal chars before attempting to create a file.
* Fixing commentaries
* More fixes to the sudoers.d modification: adds an includedir to sudoers if sudoers.d did not exist previously, waits for python to close and release the new rule file before attempting to set its permissions to 440.
* Regex fix and better code formatting.
|