[elbe-devel] [PATCH] hdimg: fix binary blobs for gpt partitions
John Ogness
john.ogness at linutronix.de
Thu Apr 5 10:58:55 CEST 2018
The XML tag for gpt partitions is "gpthd", not "gpt".
Signed-off-by: John Ogness <john.ogness at linutronix.de>
---
elbepack/hdimg.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/hdimg.py b/elbepack/hdimg.py
index e0aab938..e56b300d 100644
--- a/elbepack/hdimg.py
+++ b/elbepack/hdimg.py
@@ -693,7 +693,7 @@ def do_hdimg(outf, xml, target, rfs, grub_version, grub_fw_type):
# dd binary blobs onto images
for i in xml.tgt.node("images"):
- if (i.tag == "msdoshd") or (i.tag == "gpt"):
+ if (i.tag == "msdoshd") or (i.tag == "gpthd"):
add_binary_blob(outf, i, target)
gz_img_files = []
--
2.11.0
More information about the elbe-devel
mailing list