[PATCH] fixup! efi: add helper to get the GPT partition UUID for a device

2015-07-25 Thread 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


[PATCH] efi: enable blspec in the defconfig

2015-07-25 Thread Michael Olbrich
Signed-off-by: Michael Olbrich 
---
 arch/efi/configs/efi_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/efi/configs/efi_defconfig b/arch/efi/configs/efi_defconfig
index 456f70d32b59..3c9a9dcb956e 100644
--- a/arch/efi/configs/efi_defconfig
+++ b/arch/efi/configs/efi_defconfig
@@ -7,6 +7,7 @@ CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
 CONFIG_MENU=y
 # CONFIG_TIMESTAMP is not set
+CONFIG_BLSPEC=y
 CONFIG_CONSOLE_ACTIVATE_ALL=y
 CONFIG_PARTITION_DISK_EFI=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
-- 
2.1.4


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