mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! efi: add helper to get the GPT partition UUID for a device
@ 2015-07-25  8:31 Michael Olbrich
  2015-07-27  5:23 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Olbrich @ 2015-07-25  8:31 UTC (permalink / raw)
  To: barebox; +Cc: Michael Olbrich

---

I'm not sure why I didn't notice this before. This is needed to generate
the correct UUID. Otherwise systemd fails to mount the EFI partition.

Michael

 common/efi-devicepath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/efi-devicepath.c b/common/efi-devicepath.c
index a1cd0952f929..54c2f4e3c54e 100644
--- a/common/efi-devicepath.c
+++ b/common/efi-devicepath.c
@@ -1406,7 +1406,7 @@ char *device_path_to_partuuid(struct efi_device_path *dev_path)
 		if (hd->signature_type != SIGNATURE_TYPE_GUID)
 			continue;
 
-		str = xasprintf("%pU)", (efi_guid_t *)&(hd->signature[0]));
+		str = xasprintf("%pUl", (efi_guid_t *)&(hd->signature[0]));
 		break;
 	}
 
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fixup! efi: add helper to get the GPT partition UUID for a device
  2015-07-25  8:31 [PATCH] fixup! efi: add helper to get the GPT partition UUID for a device Michael Olbrich
@ 2015-07-27  5:23 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-07-27  5:23 UTC (permalink / raw)
  To: Michael Olbrich; +Cc: barebox

On Sat, Jul 25, 2015 at 10:31:24AM +0200, Michael Olbrich wrote:
> ---
> 
> I'm not sure why I didn't notice this before. This is needed to generate
> the correct UUID. Otherwise systemd fails to mount the EFI partition.
> 
> Michael
> 
>  common/efi-devicepath.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-27  5:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-25  8:31 [PATCH] fixup! efi: add helper to get the GPT partition UUID for a device Michael Olbrich
2015-07-27  5:23 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox