Closed bcl closed 1 year ago
This is incomplete, needs to add support for new functions too, and needs the new parted version which isn't yet available.
Can you point to the upstream parted change mentioned - I'm not finding it in my git master for parted. The partition UUID value in particular is something I was also looking for when doing the changes in #95, as that's needed to support the systemd bootloader spec requirements for /var partitions.
It hasn't been pushed to master yet, here's a github PR with the change - https://github.com/bcl/parted/pull/12
There's nothing there that should be triggering the FPE crash, but I'm hitting it consistently enough in my testing that I don't currently trust anything :)
So far it looks reasonable. When you are ready for this one, request me as the reviewer.
This depends on #100 now, and I added the new no_automount flag to it as well as fixing a missing test on the PARTITION_LINUX_HOME flag. This should be applied after #100.
libparted now supports retrieving the disk and partition uuid values, this adds support for the disk type flags, and fixes up the tests to include them.