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-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
2021-06-02Add hardware logging to beginning of installationDylan Taylor
2021-05-28 added support for setting profile to a dict or a string in configYash Tripathi
2021-05-28added support for setting mirror-region to a dict or a string in configYash Tripathi
2021-05-27Needed to set file mode to write.Dylan M. Taylor
2021-05-27Write user configuration JSON to a file in logs directoryDylan Taylor
2021-05-27Add descriptions for top-level profilesDylan M. Taylor
2021-05-24removed builtins usage and added gfx_package key in configYash Tripathi
2021-05-24Merged in latest changes from masterAnton Hvornum
2021-05-23Made sure NTP matches the default value when 'skipped'.Anton Hvornum
2021-05-23added pulling sys-language and sys-encoding from configYash Tripathi
2021-05-23fixed pulling mirror-region from configYash Tripathi
2021-05-23updated mirror-region config key to use value directlyYash Tripathi
2021-05-22Fix issue from language selection.Anton Hvornum