diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-15 17:17:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-21 19:09:30 +0100 |
commit | be30ad41ffd796ba40a5026b4963c17f04cc334d (patch) | |
tree | 56f7744a8d8fc0d3cf6bfdcc1223199f5cbfc94a /src/shared/dissect-image.h | |
parent | gpt-auto-generator: support LUKS encrypted root partitions (diff) | |
download | systemd-be30ad41ffd796ba40a5026b4963c17f04cc334d.tar.xz systemd-be30ad41ffd796ba40a5026b4963c17f04cc334d.zip |
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 '')
-rw-r--r-- | src/shared/dissect-image.h | 1 |
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; |