Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-09-06Refactor meminfo() to allow direct key accessRichard Neumann
2021-09-06Merge branch 'master' into native_cpu_detectionAnton Hvornum
2021-09-06Merge pull request #610 from luckspt/patch-2Anton Hvornum
Typo
2021-09-06Merge pull request #605 from CYPT71/patch-1Anton Hvornum
Update hardware.py
2021-09-06Added exception handling to check_outputAnton Hvornum
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.`.
2021-09-06No need for try/catch any longer.Anton Hvornum
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.
2021-09-06Merge branch 'master' into masterAnton Hvornum
2021-09-06Merge pull request #600 from monosans/comprehensionAnton Hvornum
Replace for loops with comprehensions
2021-09-06Corrected some minor modifications mentioned in #595 as well as merged in ↵Anton Hvornum
latest changes from master. For future PR's do create a patch-branch for upstream patches to avoid changes to your local repo.
2021-08-20Remove excess newlineRichard Neumann
2021-08-20Rewrite CPU vendor detection functionsRichard Neumann
Use cpuinfo() function rather than a subprocess.
2021-08-20Add cpuinfo()Richard Neumann
2021-07-28TypoLucas Pinto
Fix a tiny typo
2021-07-22Update hardware.pyCYPT71
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 ??
2021-07-19Mention GNOME and KDE's soft dependency on NetworkManager in the installj-james
2021-07-18fix for #602, running mklabel before formattingYash Tripathi
2021-07-18created load_config() to load configurationYash Tripathi
2021-07-16Replace for loops with comprehensionsmonosans
2021-07-07Fix encryption + grub both in UEFI and BIOS systems.Hamad Al Marri
We need to have two partitions in BIOS one for boot (grub) and the other for root (/). The format of the boot partition is ext2 (so it is added). If disk is chosen to be encrypted, `then /etc/default/grub` is edited as the followings: https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Configuring_GRUB_2 Issue: https://github.com/archlinux/archinstall/issues/586 This work is done while working on CachyOS which is Arch based and it is using customized archinstaller. To test these changes you can try CachyOS installer which supports encrypted disk with grub (https://wiki.cachyos.org/). Hamad
2021-06-13Change graphics driver prompt to better indicate default actionDylan M. Taylor
2021-06-13Setting proper keys in exported config (#557)Yash Tripathi
* Set the resolved profile path to the actual desktop environment * split Nvidia driver list into proprietary and open-source * Updated select_driver to use archinstall.arguments for driver selection * Adding default value that works with later .get() * audio will now be prompted irrespective of profile
2021-06-13Implement is_desktop_profile helper function (#575)Dylan M. Taylor
* Implement is_desktop_profile helper function * Make ask_for_audio_selection use generic_select * Fix default value for audio selection * Leverage list of supported desktops to perform is_desktop_profile check * is_desktop_profile was missing a default return value * Store return value for audio server
2021-06-10Merge pull request #569 from dylanmtaylor/patch-1Anton Hvornum
Add a message when running check_mirror_reachable to let users know it's not frozen
2021-06-10Clarify driver recommendations (#572)Dylan M. Taylor
2021-06-10Add a message when running check_mirror_reachable to let users know it is ↵Dylan M. Taylor
not frozen.
2021-06-10Merge pull request #537 from archlinux/torxed-fix-517Anton Hvornum
Introduces the use of HTTP mirrors additionally
2021-06-10Merge pull request #538 from archlinux/torxed-fix-536Anton Hvornum
Attempt to fix issue regarding broken output
2021-06-10Exit codes are an 8 bit value and could be 0 through 255Dylan M. Taylor
We also don't need to check the exit code - this message should just be displayed if we are not root
2021-06-10Merge pull request #562 from dylanmtaylor/hide-requires-root-if-rootAnton Hvornum
Only print requires root messages if effective user id is not root
2021-06-10Merge pull request #559 from dylanmtaylor/patch-1Anton Hvornum
Proposal: Split Nvidia so that there are two options for it
2021-06-09Only print requires root messages if effective user id is not rootDylan Taylor
2021-06-09Try to unmount devices before attempting to run mklabelDylan M. Taylor
2021-06-09Split Nvidia so that there are two options for itDylan M. Taylor
This makes selecting an Nvidia driver simpler and makes it apparent that we support both open-source and proprietary from the initial selection.
2021-06-03Attempt to avoid crashing when encountering swap partitions in has_content()Dylan M. Taylor
2021-06-03Merge pull request #542 from dylanmtaylor/bootloader-directory-creationAnton Hvornum
Add some safeguards to create directories before writing files
2021-06-03Add some safeguards to create directories before writing filesDylan Taylor
2021-06-03Merge pull request #539 from archlinux/torxed-improve-loggingAnton Hvornum
Adding --debug and other log enhancements
2021-06-02Clean up graphics driver outputDylan Taylor
2021-06-02Fix my Quadro T1000 not being detectedDylan Taylor
2021-06-02Add hardware logging to beginning of installationDylan Taylor
2021-06-02Add additional hardware functionsDylan Taylor
2021-06-02Wrong variable nameAnton Hvornum
2021-06-02Remove line explaining desktop profileDylan Taylor
2021-06-02Add description to profile listingDylan Taylor
2021-06-02Adding more granular debuggingAnton Hvornum
2021-06-02Attempt to fix issue regarding broken outputAnton Hvornum
Since pacman and some other commands these days write multiple lines and goes back and fourth, it's not reliable to say the "peaked" line is a single line. And if it's not, it will make the output look like garbage. So instead, we'll write any output - as is - and let the command deal with fancy printing.
2021-06-02Added docstringsAnton Hvornum
2021-06-01Windows fix + Sorting based on listAnton Hvornum
This fix introduces changes so that development can be done (and tested) on other platforms than Linux. This is a convenience fix and shouldn't break anything (simply a few Linux-specific imports that have moved into the functions where they are used). This commit also introduces sorting based on a list of priorities (where the default will be last if not matched).
2021-06-01Introduces HTTP mirror selectionAnton Hvornum
2021-05-31Remove comment that no longer appliesDylan M. Taylor