[elbe-devel] [PATCH] hdimg: fix binary blobs for gpt partitions

Manuel Traut manuel.traut at linutronix.de
Thu Apr 5 11:01:07 CEST 2018


On Thu, Apr 05, 2018 at 10:58:55AM +0200, John Ogness wrote:
> The XML tag for gpt partitions is "gpthd", not "gpt".
> 
> Signed-off-by: John Ogness <john.ogness at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>

applied to devel/elbe-3.0, thanks!

  Manuel

> ---
>  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
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list