Commit Graph

35 Commits

Author SHA1 Message Date
correctmost 63b4184f70
Fix most of the mypy errors in archinstall/lib/disk/ (#2639) 2024-08-28 05:40:51 +10:00
codefiles 179ba3cd9a
Fix load_devices() lsblk (#2565)
* Fix load_devices() lsblk

* Add udev sync before load_devices() lsblk call
2024-08-23 17:22:26 +02:00
codefiles d2acdb4977
Refactor create_btrfs_volumes() (#2621) 2024-08-22 16:41:10 +10:00
codefiles 6747c9e5d8
Skip devices that fail to get pyparted Disk (#2526) 2024-06-05 07:36:06 +10:00
codefiles cee32670f3
Refactor umount() (#2516) 2024-05-19 11:29:02 +10:00
codefiles 09fdb9e80c
Refactor format() (#2512) 2024-05-19 08:03:11 +10:00
Daniel Girtler bab06e4d75
Fix 2496 - umounting all partitions (#2498)
* Fix 2496 - umounting all partitions

* Update
2024-05-15 12:47:20 +02:00
codefiles 06baa08750
Set root partition type GUID (#2505) 2024-05-15 13:06:27 +10:00
Daniel Girtler b470b16ec9
LVM support (#2104)
* Submenu for disk configuration

* Update

* Add LVM manual config

* PV selection

* LVM volume menu

* Update

* Fix mypy

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update LVM

* Update

* Update

* Btrfs support

* Refactor

* LVM on Luks

* Luks on LVM

* Update

* LVM on Luks

* Update

* Update

* mypy

* Update

* Fix bug with LuksOnLvm and Btrfs

* Update

* Update

* Info -> Debug output
2024-04-15 18:49:00 +10:00
codefiles df2884085d
Add udev sync before lsblk that follows formatting (#2412) 2024-03-12 10:25:15 +01:00
codefiles c210cdcb8f
Fix Btrfs mount options (#2404) 2024-03-11 08:09:26 +01:00
Daniel Girtler 21dd295259
Fix 2337 (and similar) - Ignore existing partitions (#2342)
* Fix 2337

* Update
2024-03-07 14:42:25 +01:00
codefiles b39e3dc886
Fix partition table commit (#2294) 2024-03-07 13:49:14 +01:00
czapek e6344f93f7
Fix Limine bootloader deployment (#2216)
* Add `get_unique_path_for_device` to `DeviceHandler`

* Fix Limine bootloader deployment

* Fail if UKI is enabled with Limine

* Support more configuration options with Limine

* Fix linter errors

* Fix boot partition fs_type check for Limine
2023-11-21 10:19:17 +01:00
codefiles f876ddc68e
Remove superfluous use of `partprobe` (#2212) 2023-11-20 12:56:12 +01:00
Daniel Girtler 5c903df55f
Simplify SysCommand decoding (#2121) 2023-10-02 21:01:23 +11:00
codefiles 8257e9f73f
Fix missing info for pre-mounted disk configuration (#2143) 2023-10-02 07:50:20 +02:00
codefiles 3695c37bc4
Fix mount command whitespace (#2126) 2023-09-28 21:00:06 +10:00
codefiles a811decea5
Fix mount debug message (#2116) 2023-09-27 07:39:35 +02:00
Daniel Girtler bc8d4ea234
Fix 2103 (#2114)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-26 10:57:50 +02:00
codefiles 717a22371f
Fix `mountpoint` for pre-mounted disk configuration (#2113)
* Fix `mountpoint` for pre-mounted disk configuration

* Add missing commas
2023-09-26 10:57:45 +02:00
codefiles ab5de3e2e6
Add support for loop devices (#2097) 2023-09-24 10:51:20 +10:00
codefiles 6d908e8cd7
Fix `_add_efistub_bootloader()` partition number with partn (#2084) 2023-09-21 17:13:22 +02:00
codefiles 3e2999bc27
Fix acquisition of UUID (#2077)
* Fix acquisition of UUID

* Fix inadequate solution

* Add check for UUID
2023-09-20 20:49:29 +02:00
Daniel Girtler 56567221b6
Fix 1971 - manual partitioning (#2031)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-14 20:06:23 +10:00
Daniel Girtler 0258b0335e
Fix Bootloader installation (#2032)
* Fix broken path

* Update

* Update

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-14 20:05:53 +10:00
Anton Hvornum 3cea9baff6
Muted partprobe (#1964)
* Muted partprobe

* Missing import
2023-07-30 23:40:40 +02:00
codefiles ffb9366280
Skip rom devices (#1906) 2023-06-29 15:33:14 +02:00
Daniel Girtler 57ebc42ffd
Fix 1875 (#1880)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-06-28 13:34:54 +02:00
Daniel Girtler 89cefb9a1c
Cleanup imports and unused code (#1801)
* Cleanup imports and unused code

* Update build check

* Keep deprecation exception

* Simplify logging

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-11 18:30:09 +02:00
Daniel Girtler 525c94bf36
Fix 1793 (#1794)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07 08:39:25 +02:00
Daemon Coder fd83f073f3
Update `SysCommand()` calls in remaining files (#1707) 2023-05-04 10:42:37 +02:00
Daniel Girtler ec4ecbcb7a
Full mypy compliance and small fixes (#1777)
* Fix mypy compliance

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-03 16:36:46 +02:00
Daniel Girtler e78ddb03e1
Attempt to fetch partuuid multiple times (#1770)
* Attempt to fetch partuuid multiple times

* Update

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-04-28 14:18:48 +02:00
Daniel Girtler 00b0ae7ba4
PyParted and a large rewrite of the underlying partitioning (#1604)
* Invert mypy files

* Add optional pre-commit hooks

* New profile structure

* Serialize profiles

* Use profile instead of classmethod

* Custom profile setup

* Separator between back

* Support profile import via url

* Move profiles module

* Refactor files

* Remove symlink

* Add user to docker group

* Update schema description

* Handle list services

* mypy fixes

* mypy fixes

* Rename profilesv2 to profiles

* flake8

* mypy again

* Support selecting DM

* Fix mypy

* Cleanup

* Update greeter setting

* Update schema

* Revert toml changes

* Poc external dependencies

* Dependency support

* New encryption menu

* flake8

* Mypy and flake8

* Unify lsblk command

* Update bootloader configuration

* Git hooks

* Fix import

* Pyparted

* Remove custom font setting

* flake8

* Remove default preview

* Manual partitioning menu

* Update structure

* Disk configuration

* Update filesystem

* luks2 encryption

* Everything works until installation

* Btrfsutil

* Btrfs handling

* Update btrfs

* Save encryption config

* Fix pipewire issue

* Update mypy version

* Update all pre-commit

* Update package versions

* Revert audio/pipewire

* Merge master PRs

* Add master changes

* Merge master changes

* Small renaming

* Pull master changes

* Reset disk enc after disk config change

* Generate locals

* Update naming

* Fix imports

* Fix broken sync

* Fix pre selection on table menu

* Profile menu

* Update profile

* Fix post_install

* Added python-pyparted to PKGBUILD, this requires [testing] to be enabled in order to run makepkg. Package still works via python -m build etc.

* Swaped around some setuptools logic in pyproject

Since we define `package-data` and `packages` there should be no need for:
```
[tool.setuptools.packages.find]
where = ["archinstall", "archinstall.*"]
```

* Removed pyproject collisions. Duplicate definitions.

* Made sure pyproject.toml includes languages

* Add example and update README

* Fix pyproject issues

* Generate locale

* Refactor imports

* Simplify imports

* Add profile description and package examples

* Align code

* Fix mypy

* Simplify imports

* Fix saving config

* Fix wrong luks merge

* Refactor installation

* Fix cdrom device loading

* Fix wrongly merged code

* Fix imports and greeter

* Don't terminate on partprobe error

* Use specific path on partprobe from luks

* Update archinstall/lib/disk/device_model.py

Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>

* Update archinstall/lib/disk/device_model.py

Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>

* Update github workflow to test archinstall installation

* Update sway merge

* Generate locales

* Update workflow

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>
2023-04-19 12:55:42 +02:00