Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
AgeCommit message (Collapse)Author
2021-05-15Fix unused imports in guidedDylan Taylor
2021-05-15More manual fixesDylan Taylor
2021-05-14Removed dupe formatterAnton Hvornum
There should be no reason to call `.format()` here, since the steps above take care of all formatting.
2021-05-14Removed targeted /boot formatting. This should be handled and marked earlier ↵Anton Hvornum
in the locig, the partitioning logic should only honor the marked partitions and their status. No need to explicitly format /boot since - if it's meant to be formatted - it should already be marked.
2021-05-11Renamed keyboard-language to keyboard-layout to avoid confusion. Added ↵Anton Hvornum
encryption checks for disk layout selection, if disk encryption password is given - but no partitions were found using encryption, the user will be asked which partitions to encrypt - unless there's only /boot and /<root> then we'll automatically select /<root> because that's what we support for now.
2021-05-11Fixed line-ending issue after using generic_multi_select()Anton Hvornum
2021-05-11Flipped log level logic.Anton Hvornum
2021-05-10Added Partition() properties: sector_size, start, end, boot, partition_type ↵Anton Hvornum
and a __dump__() function. As well as kept working on the partition logic of guided to have a more traditional workflow of adding/deleting partitions in a guided manner, as well as the ability to mark partitions as encrypted/boot and set target mountpoints.
2021-05-10Added a soft-wrapper around parted logic. This logic will guide users ↵Anton Hvornum
through setting up partitions, if they chose to wipe a drive. We'll avoid doing to much auto-magic, and this is just a start.
2021-05-06Adding in partition layout structureAnton Hvornum
2021-05-06Removed obsolete variable in prep for multi-disk support.Anton Hvornum
2021-05-05Beginning work on simplifying disk process in guided.py by reducing ↵Anton Hvornum
complexity and code logic.
2021-05-05Allow for multiple disks to be selected (to span partitions such as boot ↵Anton Hvornum
across multiple block devices)
2021-05-04Moved around the function calls to be more logical and separated. Also moved ↵Anton Hvornum
the target-mount -> target-mountpoint as a parameter for the actual installation.
2021-05-01Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-partitioning
2021-04-29Added a postgresql application profile. (#383)Anton Hvornum
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment. * Fixing top-level-listing of profiles. As well as testing some postgres installation steps. * Removed dupe functions. * Added safety check in case a comment mentions the top level profile thing. * Patching namespace corruption. * Avoiding runtime collision due to installation not being initiated yet. * Allow for parameterization of filesystem in guided. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28Update kernel selectSecondThundeR
Move select to separate function Remove 'continue' option Add hardened kernel as option
2021-04-27Merge branch 'master' into misc-cleanupВладислав
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* Moving away from custom log levels, to something that's well defined. * Added backward compability to log() as well. * Added an option to force log messages out on screen even if the level is below the log level threashold. * Added force log messages when wrong notation is used. * Added some more length to the deprecated message * Swapped all log levels to use logging.<level> instead. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-27Merge branch 'master' into misc-cleanupВладислав
2021-04-27Revert "Update logging for some functions"SecondThundeR
This reverts commit f5b6e7bafead1f604c27bfb31b84f3f560a682c8. Reverting commit due to currently redundant change and merge conflict
2021-04-27Pulled in latest changes from torxed-v2.2.0Anton Hvornum
2021-04-27Added a failsafe for kernels argument to be defaulted to linux, since 'None' ↵Anton Hvornum
could technically end up here.
2021-04-27Reduced complexity in guided for the kernel selection process.Anton Hvornum
2021-04-27Synced latest changes from torxed-v2.2.0.Anton Hvornum
2021-04-27Corrected indentation (mixed spaces and tabs)Anton Hvornum
2021-04-27having ability to use multiple kernels - dict fixAggam Rahamim
2021-04-25Merge branch 'master' of https://github.com/AggamR/archinstallAggam Rahamim
2021-04-25having ability to use multiple kernelsAggam Rahamim
2021-04-24updated to lastest commit, fixed a conflictadvaithm
2021-04-23Update logging for some functionsSecondThundeR
- Unified view of warning (red) and info (yellow) logs - Fixed some PEP8 related issues, like removing redundant f-strings and replacing double quotes to single ones - Removed warning logging level for simple logs - Removed other background color settings for logs to fully close https://github.com/archlinux/archinstall/pull/171
2021-04-23Moved output about base installed packagesSecondThundeR
This prevents screen from being cluttered if the user enters the wrong package(or packages), allowing only repetitions of prompt to be displayed
2021-04-22Added a continuation if partitions are not set yet.Anton Hvornum
2021-04-22Fixes #324.Anton Hvornum
2021-04-22merged with masteradvaithm
2021-04-21Re-working top-level-profile lambda to be a parameter to list_profiles() ↵Anton Hvornum
instead. When skipping a profile, None is returned from somewhere and it causes a glitch. So trying to figure out where and what by cleaning up a bit
2021-04-21Merged in latest changes and history from torxed-2.2.0 to avoid odd history ↵Anton Hvornum
in PR #315
2021-04-20added return trueadvaithm
2021-04-20changed some stringsadvaithm
2021-04-20reworked how we remove efimanager and add grubadvaithm
2021-04-20moved some stuffadvaithm
2021-04-20fixed some issues with adding packagesadvaithm
2021-04-20we should only look for boot on uefi systemsadvaithm
2021-04-20we should only look for boot on uefi systemsadvaithm
2021-04-20we should only look for boot on uefi systemsadvaithm
2021-04-20repharsed some stuffadvaithm
2021-04-20reworked how we handle bootloaders a littleadvaithm
2021-04-20rebaseadvaithm
2021-04-20Merge branch 'torxed-v2.2.0' into torxed-v2.2.0Anton Hvornum
2021-04-17Replace input with generic_select where necessarySecondThundeR
Here are list of changes: > From now on, `generic_select` will be called "Select function", for clarity - Slightly updated select function - Removed options output for some functions, where it's better to do with select function - Added sorting for all lists passed to select function - Replaced `dict.values()` with `dict` as options parameter - Simplified input checking for all functions that use the select function - Added temporary *(for now)* workaround for passing `?` and `help` inputs - Merged fix for `partition.format()`