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

bage at linutronix.de bage at linutronix.de
Fri Feb 22 14:54:31 CET 2019


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>
---
 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




More information about the elbe-devel mailing list