archinstall/archinstall
Anton Hvornum c93482a8b9
Rework btrfs handling (#1234)
* Restructuring btrfs.py into lib/btrfs/*.py

* Reworking how BTRFS subvolumes get represented, and worked with. Subvolumes are now their own entity which can be used to access it's information, parents or mount location.

* Added BtrfsSubvolume.partition and other stuff.

* Reworking the way luks2().unlock and .format() returns device instances. They should now return BTRFSSubvolume where appropriate.

* Fixed a missing import

* Fixed an issue where mkfs.btrfs wouldn't trigger due to busy disk.

* Fixing subvol mounting without creating a fake instance.

* Added creation of mountpint for btrfs subvolume

* Fixed root detection

* Re-worked mounting into a queue system using frozen mounting calls using lambda

* Removed old mount_subvolume() function

* Removed get_subvolumes_from_findmnt()

* Fixed Partition().subvolumes iteration

* Adding .root to BtrfsSubvolume

* Fixed issue in SysCommandWorker where log output would break and crash execution due to cmd being a string vs list

* Changed return-value from MapperDev.mountpoint to pathlib.Path
2022-05-26 18:46:10 +02:00
..
lib Rework btrfs handling (#1234) 2022-05-26 18:46:10 +02:00
locales Add Italian translation (#1244) 2022-05-26 09:14:51 +02:00
__init__.py Version bump to RC1 for v2.4.3 2022-05-18 12:07:37 +02:00
__main__.py Added a by-path import to support git clone - import of the library (#931) 2022-02-02 08:09:12 +01:00
examples Adding symlink to examples. 2020-07-08 12:34:22 +00:00
profiles Added symlinks instead of copying when building. Also mofied the __file__ path in __main__.py as it was pointing a bit off for some reason 2020-07-08 13:22:05 +00:00