summaryrefslogtreecommitdiff
path: root/src/sysupdate/sysupdate-partition.c
Commit message (Collapse)AuthorAgeFilesLines
* fdisk-util: add fdisk_partition_get_type_as_id128() helperLennart Poettering2022-11-291-12/+3
| | | | Let's also add an easy accessor for the other per-partition UUID.
* fdisk-util: add fdisk_partition_get_uuid_as_id128() helperLennart Poettering2022-11-291-7/+3
| | | | Inspired by: #25534
* gpt: Expose GptPartitionType and get rid of SECONDARY/OTHERDaan De Meyer2022-11-151-6/+12
| | | | | | | | | | | | Instead of exposing just the partition type UUID, let's expose the GptPartitionType struct, which has a lot more information available in a much more accessible way. Also, let's get rid of SECONDARY/OTHER in PartitionDesignator. These were only there to support preferred architectures in dissect-image.c, but we can easily handle that by comparing architectures when we decide whether to override a partition. This is done in a new function compare_arch().
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
| | | | | util.h is now about logarithms only, so we can rename it. Many files included util.h for no apparent reason… Those includes are dropped.
* headers: export partition uuids and flags in new sd-gpt.h fileZbigniew Jędrzejewski-Szmek2022-09-201-12/+12
| | | | | | I think those constants are generally useful. It's quite easy to make a mistake when copying things from the docs, so let's make them easy and convenient to access.
* sysupdate: add new component "sysupdate"Lennart Poettering2022-03-191-0/+379