Anton Hvornum
9f9c637bfd
Fixes tuple issue
2021-10-30 17:22:21 +02:00
Anton Hvornum
3ee1a5c18e
Tweaked get_mount_info() and mount_subvolume(). mount info now returns the path it found after traversal. mount_subvolume will no longer assume installation.target is of pathlib.Path and converts it if it isn't.
2021-10-30 17:15:33 +02:00
Anton Hvornum
4bc164cccc
Forgot to include {installation.target} in subvolume mounting
2021-10-30 16:57:51 +02:00
Anton Hvornum
c2596be1f1
Added more logging (will change INFO to DEBUG later)
2021-10-30 16:32:55 +02:00
Anton Hvornum
e6de28287d
Wrong lib import path
2021-10-30 16:29:52 +02:00
Anton Hvornum
c4f688ce4c
Added some error handling to mount points not getting mounted properly.
2021-10-30 16:28:55 +02:00
Anton Hvornum
6be071b6e0
Enhanced get_mount_info() to recursively get the information
2021-10-30 16:16:43 +02:00
Anton Hvornum
d3aec52d98
Forgot an import
2021-10-30 13:54:18 +02:00
Anton Hvornum
5d124f8106
Added debugging to the btrfs functions.
2021-10-30 13:51:39 +02:00
Anton Hvornum
05a8739231
Wrong exposed variable corrected.
2021-10-30 12:02:00 +02:00
Anton Hvornum
76dc426a0f
Added creating and mounting of subvolume structure for BTRFS.
2021-10-30 11:00:22 +02:00
Anton Hvornum
68b891837c
Finalized the create_subvolume and mount_subvolume functions. Remaining is to call these functions during the disk setup process to create the subvolumes and mount them in place, rather than doing the normal steps.
2021-10-27 13:13:10 +00:00
Anton Hvornum
7149b76f3b
Forgot some imports that didn't show up on a static run without going through a few of the menu's
2021-10-22 21:54:16 +02:00
Anton Hvornum
8b96080ec8
Forgot some imports that didn't show up on a static run without going through a few of the menu's
2021-10-22 21:02:39 +02:00
Anton Hvornum
2ef793b76a
Forgot some imports that didn't show up on a static run without going through a few of the menu's
2021-10-22 20:55:00 +02:00
Anton Hvornum
3ec8df9753
Removed the old disk.py
2021-10-22 20:45:44 +02:00
Anton Hvornum
7ac06d75d0
Restructured disk.py into lib/disk/<splits>.py instead. Shouldn't be any broken links as we expose all the functions through __init__.py - but you never know so I'll keep an eye for issues with this.
2021-10-22 20:43:01 +02:00
Anton Hvornum
ed823be3ba
Refactoring and cleaning up a bit
...
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-18 15:52:29 +02:00
Anton Hvornum
68212dd32c
Preparing to split up ./lib/disk.py
...
And added some sane(?) defaults, which I'll massage into code some how.
2021-09-18 14:54:42 +02:00
Anton Hvornum
6a125d5bd2
Adding in options for BTRFS subvolumes
2021-09-18 11:22:18 +02:00
Anton Hvornum
f6ceb8bba6
Removing hardcoded btrfs for suggested partition layouts.
2021-09-18 10:37:55 +02:00
Anton Hvornum
ad534f0804
Merge pull request #636 from archlinux/torxed-fix-616
...
Removing /tmp from fstab
2021-09-17 23:52:49 +02:00
Anton Hvornum
e21cf77e77
Removing /tmp from fstab
...
Since systemd takes care of mounting /tmp as a tmpt, there's no point in having a manual entry in fstab.
2021-09-17 23:52:10 +02:00
Anton Hvornum
7be52655c0
Merge pull request #635 from archlinux/torxed-fix-593
...
Added gvfs to fix "trash" in xfce4
2021-09-17 17:29:21 +02:00
Anton Hvornum
b4481506ff
Added gvfs to fix "trash" in xfce4
...
https://wiki.archlinux.org/title/Xfce#Trash_icon_not_visible_and_trash_applet_does_not_work
2021-09-17 17:28:46 +02:00
Anton Hvornum
ffc43bc041
Adding linux -headers for nvidia-dkms
...
This should address #585 , as I don't see any nvidia-dkms other than when linux-zen and linux-lts is chosen, I chose to put the -headers logic in the same section. If this is needed for vanilla `linux` kernel as well, then move the logic one line up.
2021-09-15 22:17:30 +02:00
Anton Hvornum
9e67ce3f05
Making sure the drive paths are in the JSON structure, and not the class 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-15 20:11:40 +02:00
Anton Hvornum
70af00f33d
Tweaked the logic for parsing the --harddrives parameter.
2021-09-15 19:23:35 +02:00
Anton Hvornum
e6549c1edb
Fixing type issue with conversion to multiple disk logic.
2021-09-15 19:17:32 +02:00
Anton Hvornum
2cfbafc653
More error handling and fixed a spelling error.
2021-09-15 19:16:30 +02:00
Anton Hvornum
1a7056efc4
Might be redundant, but if the JSON file given to --config contains a list 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-15 19:09:57 +02:00
Anton Hvornum
d6acfec799
Updating support for --disk_layouts. It now supports file paths as well as JSON in string format via --disk_layouts=<json>
2021-09-15 19:01:14 +02:00
Anton Hvornum
8dd097da05
Reverted last change, and improved it. By passing it through load_config and tweaking the read structure a bit, it worked out better if the accessed values are in archinstall.storage instead.
2021-09-15 17:36:54 +02:00
Anton Hvornum
c09a36b7b1
Changed from internal storage to parameter-friendly arguments for disk_layouts, so we can support JSON for disk layouts on the new logic.
2021-09-15 13:33:34 +00:00
Anton Hvornum
7d3f2b6f29
Added a 'hidden' variable called --disk-sleep for delaying disk partition up time before continuing after a format. This is an ugly hack to get around some disk issues, for now.
2021-09-14 14:07:50 +00:00
Anton Hvornum
6d2a2f327c
Moved --noconfirm at the end of the pacstrap command to get piped properly to pacman inside pacstrap.
2021-09-14 11:47:16 +00:00
Anton Hvornum
e0f00ad1fe
Merging latest changes
2021-09-13 14:56:03 +00:00
Anton Hvornum
168379d43d
Added --noconfirm to pacstrap and increased logging verbosity when packages fail, and adding a exception so that the installation doesn't continue silently. This causes too much confusion (even tho I liked the idea that people could recover the missing parts without having to re-run the installer for subsequent steps.
2021-09-13 14:55:09 +00:00
Anton Hvornum
995edaf316
Removed legacy need to add_bootloader
...
`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-12 15:42:13 +02:00
Anton Hvornum
ea41a6c268
Merge pull request #628 from kusakata/patch-1
...
Update ReadMe document link
2021-09-07 20:41:53 +02:00
Shohei Kusakata
243284d2fd
Update ReadMe document link
...
fix readthedocs link
2021-09-08 02:43:41 +09:00
Anton Hvornum
e3b6a46b74
Update README.md
2021-09-06 18:23:19 +02:00
Anton Hvornum
009dc0ab37
Merge pull request #623 from conqp/clean_hardware_imports
...
Remove unused import of json
2021-09-06 18:01:46 +02:00
Anton Hvornum
6aa028d29d
Merge pull request #626 from conqp/refactor_meminfo
...
Refactor meminfo() to allow direct key access
2021-09-06 18:01:31 +02:00
Anton Hvornum
6ead767907
Merge pull request #625 from conqp/fix_tab_indentation
...
Fix indentation with tabs instead of spaces
2021-09-06 17:59:43 +02:00
Richard Neumann
712e5d4a70
Fix indentation with tabs instead of spaces
2021-09-06 17:15:40 +02:00
Richard Neumann
0a8fe402a4
Refactor meminfo() to allow direct key access
2021-09-06 17:13:26 +02:00
Richard Neumann
93496087e5
Remove unused import of json
2021-09-06 16:52:41 +02:00
Anton Hvornum
e39e49ecc7
Merge pull request #426 from archlinux/torxed-rework-partitioning
...
Re-work partitioning logic, introducing more granularity (and stability)
2021-09-06 16:42:31 +02:00
Anton Hvornum
e10daf4c57
Merged in master
2021-09-06 14:41:29 +00:00