summaryrefslogtreecommitdiff
path: root/src/shared/dissect-image.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-15 17:17:43 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-21 19:09:30 +0100
commitbe30ad41ffd796ba40a5026b4963c17f04cc334d (patch)
tree56f7744a8d8fc0d3cf6bfdcc1223199f5cbfc94a /src/shared/dissect-image.h
parent01af8c019a33eb3882f17e3b65e30c4a924fed2a (diff)
dissect: return the GPT partition UUID, too
This is useful as we can match up the EFI UUID with the one the firmware supposedly used.
Diffstat (limited to 'src/shared/dissect-image.h')
-rw-r--r--src/shared/dissect-image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h
index b424dac665..76104e5780 100644
--- a/src/shared/dissect-image.h
+++ b/src/shared/dissect-image.h
@@ -32,6 +32,7 @@ struct DissectedPartition {
bool rw:1;
int partno; /* -1 if there was no partition and the images contains a file system directly */
int architecture; /* Intended architecture: either native, secondary or unset (-1). */
+ sd_id128_t uuid; /* Partition entry UUID as reported by the GPT */
char *fstype;
char *node;
char *decrypted_node;