summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/partitions/efi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/partitions/efi.c b/common/partitions/efi.c
index 848bed2261..0f3f790539 100644
--- a/common/partitions/efi.c
+++ b/common/partitions/efi.c
@@ -446,6 +446,7 @@ static void efi_partition(void *buf, struct block_device *blk,
}
snprintf(blk->cdev.uuid, sizeof(blk->cdev.uuid), "%pUl", &gpt->disk_guid);
+ dev_add_param_string_fixed(blk->dev, "guid", blk->cdev.uuid);
nb_part = le32_to_cpu(gpt->num_partition_entries);