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-11-05Merged PR #650 - flake8 fixes and tighteningAnton Hvornum
Tighten up flake8 tests used by GitHub Action lint_python
2021-11-05Cleaned up all flake8 issues/warnings. Did some code cleaning as well, ↵Anton Hvornum
mostly how we called things in guided.py but also some SysCommand calls
2021-11-02Fix typosTheEvilSkeleton
2021-10-30Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-fix-93
2021-10-30Wrong exposed variable corrected.Anton Hvornum
2021-10-22Forgot some imports that didn't show up on a static run without going ↵Anton Hvornum
through a few of the menu's
2021-09-19general: remove all found white-spacesSecondThundeR
Also this change adds new line at the end for some scripts
2021-09-18Refactoring and cleaning up a bitAnton Hvornum
I'm making sure that the JSON structure of the user config can get a say in how the subvolumes should be used later on. As well as splitting up where the logic should be to make it easier to maintain.
2021-09-18Adding in options for BTRFS subvolumesAnton Hvornum
2021-09-15Making sure the drive paths are in the JSON structure, and not the class ↵Anton Hvornum
object, as it won't work seamlessly to access for instance storage['disk_layouts'][ClassInstance()] if it's not the identical mem copy of the object we're accessing, so strings are better for storage/comparisons.
2021-09-15Tweaked the logic for parsing the --harddrives parameter.Anton Hvornum
2021-09-15Fixing type issue with conversion to multiple disk logic.Anton Hvornum
2021-09-15More error handling and fixed a spelling error.Anton Hvornum
2021-09-15Might be redundant, but if the JSON file given to --config contains a list ↵Anton Hvornum
it will break the .split(), but if --harddrives is given as an argument, then we need to split. So adding a type-check
2021-09-15Updating support for --disk_layouts. It now supports file paths as well as ↵Anton Hvornum
JSON in string format via --disk_layouts=<json>
2021-09-15Reverted last change, and improved it. By passing it through load_config and ↵Anton Hvornum
tweaking the read structure a bit, it worked out better if the accessed values are in archinstall.storage instead.
2021-09-15Changed from internal storage to parameter-friendly arguments for ↵Anton Hvornum
disk_layouts, so we can support JSON for disk layouts on the new logic.
2021-09-12Removed legacy need to add_bootloaderAnton Hvornum
`add_bootloader` no longer needs to have a harddrive given as a argument. It will (and should) auto-detect what's mounted in the `self.target` (aka mountpoint) of the installation.
2021-09-06Merged in master.Anton Hvornum
2021-09-06Merge pull request #614 from laxect/patch-1Anton Hvornum
Fix wrong default in kernels (guide.py)
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-20Update guided.pyYash Tripathi
2021-08-20added servers keyYash Tripathi
2021-08-18Update guided.pyギャラ
Fix wrong default in kernels.
2021-07-18changed dry_run to dry-runYash Tripathi
2021-07-18added new key for desktop-environmentYash Tripathi
2021-07-18created load_config() to load configurationYash Tripathi
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-03Saving partitioning layout in a layout file (JSON format)Anton Hvornum
2021-06-14Synced master into partitioning branchAnton Hvornum
2021-06-13Merge pull request #577 from chingnux/fix-silentAnton Hvornum
fix the case when there's --config but --silent is not set
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-13fix the case when there's --config but --silent is not setIru Cai
2021-06-13This fixes ↵Anton Hvornum
https://github.com/archlinux/archinstall/pull/426#discussion_r650372664
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-10Fixed format detection on commands, should be using exit codes instead?Anton Hvornum
2021-06-10Renamed vfat -> fat32 for the purpose of consistency. Most actions are ↵Anton Hvornum
referring to fat32, it's only mkfs that has the notion vfat and then -F32 for format 32. And I think vfat confuses more people than it does good, so sticking with fat32 which works better with parted as well. Also added the partitioning logic, started on the mounting logic
2021-06-10Skipping bootloader selection if --bootloader was given.Anton Hvornum
2021-06-10Merging in latest changes from master.Anton Hvornum
2021-06-10added --dry-run flag (#570)Yash Tripathi
* added --dry-run flag
2021-06-10Started working on partitioning logic from declarative layouts.Anton Hvornum
2021-06-07Started working on the load_layout functionAnton Hvornum
2021-06-06Removed the bulk of disk-operations from guided, and will move the logic ↵Anton Hvornum
into the Filesystem() class instead.
2021-06-06Added a json.dumps() helper that wraps JSON cls. Also tweaked the logic for ↵Anton Hvornum
the size creation so that they don't overlap
2021-06-06Added sorting logic for BlockDevice. Also swapped sys_command() to ↵Anton Hvornum
SysCommand() and refined the logic around those calls.
2021-06-04Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-rework-partitioning
2021-06-04Merged in changes from masterAnton Hvornum
2021-06-02Clean up graphics driver outputDylan Taylor
2021-06-02Add graphics device listingDylan Taylor