Commit Graph

2498 Commits

Author SHA1 Message Date
Anton Hvornum bf52588926
Merged in master changes 2021-11-05 17:29:53 +01:00
Anton Hvornum 3e53d45413
Merge PR #684 - swap ntpd for systemd-timesyncd
Fix #682 - swap ntpd for systemd-timesyncd
2021-11-05 16:22:43 +00:00
Anton Hvornum 37c40b8894
Fix import systemd.Boot 2021-11-05 17:17:18 +01:00
Anton Hvornum 4f4842f6bf
Added more information to the NTP log line. 2021-11-05 17:05:20 +01:00
Anton Hvornum 93efce92a9
Renamed the ntp function, as it doesn't install/enable ntp any longer. Even tho it uses the NTP protocol. 2021-11-05 17:03:07 +01:00
Anton Hvornum 2f677e2e86 Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-682 2021-11-05 16:56:56 +01:00
Anton Hvornum 31a7a85e04
Merge pull request #688 from archlinux/torxed-fix-93
Fixed quotation marks
2021-11-05 15:56:16 +00:00
Anton Hvornum f234b63169 Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-93 2021-11-05 16:52:19 +01:00
Anton Hvornum 5db146a0eb
Just swapped quotation marks. Easier to copy paste into JSON syntax highlighting. 2021-11-05 16:52:01 +01:00
Anton Hvornum 0071a06908
Merged PR #650 - flake8 fixes and tightening
Tighten up flake8 tests used by GitHub Action lint_python
2021-11-05 15:48:03 +00:00
Anton Hvornum b6ab678631
Ignoring flake8 on blockdevice.py. 2021-11-05 16:44:51 +01:00
Anton Hvornum 2fcd8198b2
Cleaned up all flake8 issues/warnings. Did some code cleaning as well, mostly how we called things in guided.py but also some SysCommand calls 2021-11-05 16:27:01 +01:00
Anton Hvornum 3993917462
Merge pull request #687 from Brainfrazzle/patch-1
Update discord.rst
2021-11-03 08:52:04 +00:00
Brainfrazzle d9aec3fe21
Update discord.rst
Just edits for readability and grammar.
2021-11-02 20:28:02 -10:00
Anton Hvornum ccbf9d1f19
Merge pull request #685 from TheEvilSkeleton/typo
Fix typos
2021-11-02 16:23:18 +00:00
TheEvilSkeleton 675db53f1d
Fix typos 2021-11-02 12:01:07 -04:00
Anton Hvornum aa1afdbeb0 flake8 fix, trailing semicolon 2021-11-02 09:30:38 +00:00
Anton Hvornum 7e85002dcb Made sure there's a default config that's 'sane' 2021-11-02 09:29:28 +00:00
Anton Hvornum d7449cc887 Removed pacstrap of ntpd as it's redundant. Also enabled the systemd-timesyncd service before running a command against it. 2021-11-02 09:23:02 +00:00
Anton Hvornum 0d80eba219 Changed from ntpd service to systemd-timesyncd. 2021-11-02 09:21:24 +00:00
Anton Hvornum e70cfa65bb
Merge pull request #681 from Didr/patch-1
Add import for all_disks
2021-11-01 14:30:28 +00:00
Didr a868bc095d
Add import for all_disks 2021-11-01 13:05:09 +01:00
Anton Hvornum b573421df2 Fixed flake8 issues in networking, plugins and profiles. 2021-11-01 12:03:40 +00:00
Anton Hvornum 0c4ba29978 Fixed general.py flake8 issues. 2021-11-01 11:57:21 +00:00
Anton Hvornum b42b3a2ce5 Merged upstream master into PR branch. 2021-11-01 11:57:04 +00:00
Anton Hvornum b3aba8d855 Improved run_as for installation.arch_chroot() 2021-11-01 10:59:51 +00:00
Anton Hvornum b880849193
Merge PR #677 - Fixes #380
Adding support for passing arguments to .format() via configs
2021-10-30 21:06:10 +02:00
Anton Hvornum 32aa91bdde Adding support for passing arguments to .format()
This should enable people to use custom option arguments in their config files when scripting installations or using the API.
2021-10-30 21:04:31 +02:00
Anton Hvornum 85c97b5630
Merged PR #637 - BTRFS support fix #93
+ BTRFS support
+ Refactoring of `disk.py` into `lib/disk/*.py`
+ `get_mount_info()` was reworked to support traverse backwards until mountpoint information is found (reverse-recursiveness)
+ `suggest_single_disk_layout()` was added/fixed to support BTRFS options
+ - `suggest_multi_disk_layout()` does not yet support BTRFS subvolumes in suggestive mode
+ `Installer()` now calls `create_subvolume()` and `mount_subvolume()` during loading of file structure on `mount_ordered_layout()`
2021-10-30 20:52:07 +02:00
Anton Hvornum 2a2239dd03 Merge branch 'master' of https://github.com/archlinux/archinstall into torxed-fix-93 2021-10-30 20:36:21 +02:00
Anton Hvornum 62f5bf4c83 Merging in parts of Master related to disk.py 2021-10-30 20:26:54 +02:00
Anton Hvornum 522ca2e41c
Adding error handling for paths and btrfs subvolume creation. 2021-10-30 17:55:16 +02:00
Anton Hvornum 29a9fbddb2
Failed to create directory structure on subvolume create. Only on subvolume mount. This fixes that. 2021-10-30 17:50:24 +02:00
Anton Hvornum dbebe8cf37
Raising DiskError if subvolumes cannot be created. 2021-10-30 17:46:25 +02:00
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 d25a20a7f2
Merge pull request #666 from olekthunder/re_rank_mirrors_fix
Fix re_rank_mirrors
2021-10-27 11:58:17 +02:00
Anton Hvornum ea1cf70ae3
Merge pull request #672 from conqp/hardware_refactoring
Hardware refactoring
2021-10-27 11:56:51 +02:00
Anton Hvornum ae0d700c7e
Merge pull request #668 from olekthunder/use_mirrors_fix
Fix use_mirrors
2021-10-27 11:52:44 +02:00
Anton Hvornum 72849083e6
Merge pull request #662 from theaeonsolution/master
Remove duplicate package
2021-10-26 16:11:30 +02:00