[elbe-devel] [PATCH] Note issue link on unavailabe SHA256SUMS

Manuel Traut manut at linutronix.de
Mon Feb 25 16:17:50 CET 2019


On 14:54 Fri 22 Feb     , bage at linutronix.de wrote:
> From: Bastian Germann <bage at linutronix.de>
> 
> debmirror does not make SHA256SUMS files available on local mirrors.
> Print a message if you run into an error caused by this with a link to the
> GitHub issue #188 that contains a workaround.
> 
> Signed-off-by: Bastian Germann <bage at linutronix.de>
Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>
Tested-by: Manuel Traut <manut at linutronix.de>

..and merged into devel/elbe-3.0

> ---
>  elbepack/commands/init.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/elbepack/commands/init.py b/elbepack/commands/init.py
> index 3bb36551..fc261bab 100644
> --- a/elbepack/commands/init.py
> +++ b/elbepack/commands/init.py
> @@ -186,6 +186,9 @@ def run_command(argv):
>          print(e.message)
>          print("")
>          print("Check Mirror configuration")
> +        if 'SHA256SUMS' in e.message:
> +            print("If you use debmirror please read https://github.com/Linutronix/elbe/issues/188 "
> +                  "on how to work around the issue")
>          sys.exit(20)
>  
>      templates = os.listdir(init_template_dir)
> -- 
> 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