[elbe-devel] [PATCH] fstab: remove superflouous space from devicelabel generation

Manuel Traut manut at linutronix.de
Fri Apr 5 13:58:29 CEST 2019


On 13:23 Fri 05 Apr     , Torben Hohn wrote:
> in 2ae9639cebf3 ("pep8: fix E501 line too long (X > 79 characters)")
> a subtle codechange was introduced, that inserted a space into the
> devicelabel.
> 
> this resulted in "ubi 0:part" being inserted into /etc/fstab
> 
> fit it by removing the space
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>

thanks! put it into my stretch-initvm queue and will become part of e4

> ---
>  elbepack/fstab.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/fstab.py b/elbepack/fstab.py
> index d81b9528..5605670b 100644
> --- a/elbepack/fstab.py
> +++ b/elbepack/fstab.py
> @@ -32,7 +32,7 @@ def get_mtdnum(xml, label):
>  
>  def get_devicelabel(xml, node):
>      if node.text("fs/type") == "ubifs":
> -        return "ubi %s:%s" % (get_mtdnum(xml, node.text("label")),
> +        return "ubi%s:%s" % (get_mtdnum(xml, node.text("label")),
>                                node.text("label"))
>  
>      return "LABEL=" + node.text("label")
> -- 
> 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