diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-02-07 11:46:38 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-02-09 13:26:06 +0100 |
commit | 782f46a1991ba6661c6b1e99a7fc4ca850a1e32e (patch) | |
tree | 4a919265dbe68453a1b3c8b6747965c78784f1de /src/utils/inventory.py | |
parent | 7801d483d453dcc47b36429cc763fb5908c7a21b (diff) |
live: rewrite setup operationv1.2.5
Rewrites the setup operation using python-libfdisk module instead of an
external bash script. Consolidating the operation into Python's code,
limiting external subprocesses to well known programs and small
concrete tasks that are difficult to fully integrate into Python.
Use parttypes.py to fetch partition types from python-libfdisk module.
Use fs.py to create any specified supported filesystem.
OpenGnsys cache partitions are created labelling the partition as
"CACHE". Stops setting non-standard MBR hexcode (0xca) to the cache
partition in addition to the filesystem label.
Any partition specified as type EMPTY will be ignored.
Diffstat (limited to 'src/utils/inventory.py')
0 files changed, 0 insertions, 0 deletions