Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
AgeCommit message (Collapse)Author
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-09-04Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-rework-partitioning
2021-09-04Fixed edge case where size of disks could be exactly 40GB and a /home would ↵Anton Hvornum
never be created on single devices.
2021-09-04Added a PARTUUID -> parted index, this in order to properly set the boot ↵Anton Hvornum
flag on the correct partition. Perhaps there's a smarter way. I suspect parted can operate on a given partition ID, but haven't found the docs for it yet.
2021-09-04Simplified lambda and made it filter out non relevant disks for the ↵Anton Hvornum
selection process.
2021-09-04Fixed filtering if largest disk selectionAnton Hvornum
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-08-18Reworking logic that selects / and /home for multi-disk configurations. Also ↵Anton Hvornum
added some more debugging
2021-08-17Fixed a prompt error in one of the parted calls. Also started on a more ↵Anton Hvornum
reliable size-conversion that isn't limited to Gigabytes in free_space().
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-18changed dry_run to dry-runYash Tripathi
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-07-04Removed debuggingAnton Hvornum
2021-07-04Added a filesystem check when marking for formatting, this should ensure ↵Anton Hvornum
that encrypted volumes get a proper filesystem without having to go through an extra step of selecting filesystem.
2021-07-03Added options to mark/unmark partitions for formatting (useful when re-using ↵Anton Hvornum
partitions, and fine tune which data to save and which to wipe). Setting a desired filesystem for a partition (both new ones and the ones being re-used).
2021-07-03Saving partitioning layout in a layout file (JSON format)Anton Hvornum
2021-07-03Missing .format() on 'use entire disk' stepAnton Hvornum
2021-06-15Added more detail to BlockDevice.__repr__Anton Hvornum
2021-06-15Added fs-type and formatting on encrypted partitions that haven't been given ↵Anton Hvornum
a fs-type prior when re-using partitions.
2021-06-14Change of variableAnton Hvornum
2021-06-14moved valid_parted_position to disk. And made it handle float numbers.Anton Hvornum
2021-06-14Since all fs-type's appear to be lower-case in 'man parted', we'll check ↵Anton Hvornum
against a lowered list in general for supported fs-types.
2021-06-14Added BlockDevice.largest_free_space and BlockDevice.free_space (iterator). ↵Anton Hvornum
Also added additional supported filesystems to parted. Apparently the online manpages doesn't agree with the local manpages, my previous statement that these gets ignored is false so added those in and removed some that isn't supported by my local manpages, 'ufs' for instance.
2021-06-14Unifying partioning logic into one function when managing partitions. Rather ↵Anton Hvornum
than giving the option between wiping and creating, and re-using and creating
2021-06-14Merged in masterAnton Hvornum
2021-06-14Re-structuring partition flowAnton Hvornum
2021-06-14Legacy re-name of function.Anton Hvornum
2021-06-14Synced master into partitioning branchAnton Hvornum
2021-06-13Change graphics driver prompt to better indicate default actionDylan M. Taylor
2021-06-13Started on multiple-disk-re-usage selection process.Anton Hvornum
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-13Removed old safety logics for partitions. Partitions will now always be ↵Anton Hvornum
formatted when .format() is called on them. The safety now lay in the code parsing the declerative partition layouts. Also added the encrypt/mount logic for encrypted partitions, which by default will be unencrypted unless a password is specified.
2021-06-13Added multi-disk suggested layout. It's sorted on performance, and the first ↵Anton Hvornum
relevant disk with the closest size to a desired size will be used for root, and the same (exluding the one already used) will be used for /home
2021-06-13This fixes ↵Anton Hvornum
https://github.com/archlinux/archinstall/pull/426#discussion_r650372664
2021-06-13Merge branch 'torxed-rework-partitioning' of ↵Anton Hvornum
github.com:archlinux/archinstall into torxed-rework-partitioning
2021-06-13Working suggested single disk layout, preparing for multiple selections.Anton Hvornum
2021-06-11Added BlockDevice.spinning and BlockDevice.bus_typeAnton Hvornum
2021-06-11Made it so that the .partitions property of Install() fetches from live ↵Anton Hvornum
data, rather than storing and caching partitions on initation. Since it now supports mounting a partition layout given by external usage.
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