Age | Commit message (Collapse) | Author |
|
|
|
* Cleanup imports and unused code
* Cleanup imports and unused code
* Update build check
* Keep deprecation exception
* Simplify logging
* Move locale into new sub-menu
---------
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
|
|
|
|
* Cleanup imports and unused code
* Update build check
* Keep deprecation exception
* Simplify logging
---------
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
|
|
* Fix mypy compliance
---------
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>
|
|
* Fixed exceptions in is_vm() and virtualization()
* Added exception handling for parted in BlockDevice.free_space
|
|
|
|
|
|
mostly how we called things in guided.py but also some SysCommand calls
|
|
|
|
Implement has_amd_cpu() and has_intel_cpu() as partials.
|
|
|
|
meminfo() returns ints.
|
|
Remove unused import of json
|
|
Refactor meminfo() to allow direct key access
|
|
Fix indentation with tabs instead of spaces
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Update hardware.py
|
|
I tweaked the optimized return of check_output. Worth mentioning that `check_output()` will raise an exception `subprocess.CalledProcessError: Command 'lscpu | grep AMD' returned non-zero exit status 1.`.
|
|
The old behavior of SysCommand was that exit codes raised an exception, which needed to be handled by each individual caller. We now utilize `.exit_code` instead to manually detect faulty commands and raise exceptions where needed.
|
|
|
|
Use cpuinfo() function rather than a subprocess.
|
|
|
|
Rewrite some function
if condition is True then return true else return false, transform in return condition directly
Also I don't understand why we need a try/except at line 151 and why we not write return condition ??
|
|
|
|
This makes selecting an Nvidia driver simpler and makes it apparent that we support both open-source and proprietary from the initial selection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cpu_vendor() output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles.
* Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot.
* Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed.
* Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining.
* Explosion misspelling.
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
|
|
Make it so there isn't a space in the key
Try to simplify things more
|