Age | Commit message (Collapse) | Author |
|
* Adding debug information
* Adding debug information
* Adding debug information
* Removed a 'already-a-subvolume' check as it requires more information.
* Adding debug information
* Adding debug information
* Made sure Partition().subvolumes() only attempts to retrieve btrfs subvolume information if fstype==btrfs.
* Removed debug information
|
|
encryption (#1264)
Corrected the check for partitions marked with `encrypt: true`
|
|
|
|
|
|
Fixed issue where `options` wasn't passed as `options=options` and got mixed up as fs-type.
|
|
|
|
partitions (#1256)
* If BlockDevice.partitions is zero, we set a new partition label to ensure new drives are setup correctly
* Added a sleep after mklabel.
* Removed redundant log message.
* Tweaked log message from print() to log().
* Trying PARTUUID in reusage of partitions.
* Debugging.
|
|
# 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>
|
|
* Fixed a silent try/except, and MapperDev.subvolumes should now work.
* MapperDev.subvolumes now properly sends a pathlib.Path.
|
|
|
|
* 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
|
|
|
|
|
|
* Add preview for menu entries
* Fix mypy
* Update
* Update
* Fix mypy
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Adding support for PIN for FIDO2 unlock
* Added a more clear output since systemd-cryptenroll isn't clear on it's output
|
|
* 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
|
|
|
|
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Reworking select_encrypted_partitions() to use the new Menu system, and allow granularity.
* Listing partitions and enabling a index selection. Also when selecting 'delete all partitions' wipe=True will get set on the blockdevice now. Otherwise the new partitions won't be able to be created without deleting them first.
* flake8 fix
* Removed old select_encrypted_partitions()
|
|
* Fixes #1127
* flake8
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Update list_manager.py
* Update base.pot
* Update base.po
* Update base.pot
* Update base.pot
* Update base.po
* Add files via upload
|
|
* Fix lengthy translations in Main Menu
* rename 'Additional repositories' to 'Optional repositories'
* rename 'Drives' to 'Drive(s)'
* rename 'Choose keyboard layout' to 'Select keyboard layout'
|
|
|
|
* Adding in a re-try on pacstrap calls
* Made pacman -Syy also retry:able
|
|
* Add network-manager-applet to NetworkManager profile
* Converted _configuration.is_desktop_profile() into profile.is_desktop_profile
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
|
|
* Adds nvidia-open package as an option.
Apologies for making the installation even more confusing for Nvidia users. This adds an option for the new open-source kernel module for Turing or later cards, https://github.com/NVIDIA/open-gpu-kernel-modules. nvidia-open is currently in the testing repository.
* Change description
* Clarify that the other open option is noveau
* Added a check to see if the package we include exists in testing or not, and if it does, we allow that repo and warn about it.
* Forgot to put level= on log output
* Adding __future__ to the top again
* Expose package functions from archinstall.lib.packages to avoid explicit imports.
* Trying to get menu to show additional changes
* Trying a flexible option of setting the menu listings
* Trying a flexible option of setting the menu listings
* Revert "Trying a flexible option of setting the menu listings"
This reverts commit 330080697d0b1ca9ba74f468fdcd36be7736904f.
* Revert "Trying a flexible option of setting the menu listings"
This reverts commit 701b105b1dd66933dacf11f0be49c521fec758fe.
* Revert "Trying to get menu to show additional changes"
This reverts commit b038987561ab7764f5d786c3e49789fb217419d7.
* Revert "Expose package functions from archinstall.lib.packages to avoid explicit imports."
This reverts commit 9244c0b1906b71074f2688210f3c46dc09cbc8c2.
* Revert "Adding __future__ to the top again"
This reverts commit 1679f00f2e901d093655de261bab4cee5f0a9d57.
* Revert "Forgot to put level= on log output"
This reverts commit 65618943880bdbddcdd3c7e3427da574d9bf7fed.
* Revert "Added a check to see if the package we include exists in testing or not, and if it does, we allow that repo and warn about it."
This reverts commit 652308ee40230ee8c70cf0c4f7225d1278788d4a.
Co-authored-by: Anton Hvornum <anton@hvornum.se>
|
|
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Made sure remote sourcing works for --creds, --config and --disk-layout.
* Spelling error when moving around source code.
|
|
* Add files via upload
* Add files via upload
* Update global_menu.py
|
|
* Remove comments from translation files
* Add german translations
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Intergrate ctrl+c
* stash
* Update
* Fix profile reset
* flake8
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
the parent process moves back to the original working directory, leaving the child process in the target working directory. (#1142)
|
|
* Fix alignment
* Update
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* 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>
|
|
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Fix 1117
* Update
* flake8
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Fix 1091
* Update
* flake8
* Only display btrfs options if there is a filesystem
* Fix 1118
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Fix #1106
* flake8
* flake8
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
|
|
* The dict object is deprectrecated, instead .select() is suggested.
* removed copy paste issue
* Removed tests, they'll be added in a separate PR
|
|
technically not the true block device, as the mapper dev belongs to a partition, but in this context blockdev means the harddrive/medium that the partition (unlocked or otherwise) lives on. (#1100)
|
|
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Optimized a bunch of partprobe calls. Namely fixed sleep calls, added optional path to the general archinstall.partprobe() call. And fixed some error handling in a few places which should tell us where #1083 might be going wrong.
* Fixed some flake8 complaints
* Fixed sleep having a min() of 0.1 or given value.
* Fixed sleep having a correct range variable.
* Fixed sleep logic to use max() instead of min() as it will never use the higer sleep values otheride
* Added error handling to Partition().partprobe() as it would cause certain issues with USB disks. Also made Partition()._safe_uuid more safe by eliminating exceptions being raised.
|
|
* Optimized a bunch of partprobe calls. Namely fixed sleep calls, added optional path to the general archinstall.partprobe() call. And fixed some error handling in a few places which should tell us where #1083 might be going wrong.
* Fixed some flake8 complaints
* Fixed sleep having a min() of 0.1 or given value.
* Fixed sleep having a correct range variable.
* Fixed sleep logic to use max() instead of min() as it will never use the higer sleep values otheride
|
|
* 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
|