Export the UUID of the partition in the XML. The partition UUID is used

by EFI's device path to identify a partition. In order for FreeBSD to
add EFI boot options, proper device paths need to be constructed.
This commit is contained in:
Marcel Moolenaar 2010-01-30 23:13:19 +00:00
parent 96e9532b9d
commit cd18ad8347
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203261

View file

@ -513,6 +513,9 @@ g_part_gpt_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
sbuf_printf(sb, "%s<rawtype>", indent);
sbuf_printf_uuid(sb, &entry->ent.ent_type);
sbuf_printf(sb, "</rawtype>\n");
sbuf_printf(sb, "%s<rawuuid>", indent);
sbuf_printf_uuid(sb, &entry->ent.ent_uuid);
sbuf_printf(sb, "</rawuuid>\n");
} else {
/* confxml: scheme information */
}