[elbe-devel] [PATCH 09/13] fix validation URL for security updates

Manuel Traut manut at linutronix.de
Thu Sep 28 23:59:57 CEST 2017


Release file is not located in $arch

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/elbexml.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/elbexml.py b/elbepack/elbexml.py
index 3fb23721..7c92288a 100644
--- a/elbepack/elbexml.py
+++ b/elbepack/elbexml.py
@@ -174,7 +174,7 @@ class ElbeXML(object):
                 urls.append(s + "Release")
                 if url_validation == ValidationMode.CHECK_ALL:
                     if "updates" in suite:
-                        urls.append(s + "/Release")
+                        urls.append("%s/dists/%s/Release" % (url, suite))
                     else:
                         if l.startswith ("deb-src "):
                             urls.append(s + section + "/source/Release")
@@ -183,7 +183,7 @@ class ElbeXML(object):
 
                 elif url_validation == ValidationMode.CHECK_BINARIES:
                     if "updates" in suite:
-                        urls.append(s + section + "/Release")
+                        urls.append("%s/dists/%s/Release" % (url, suite))
                     else:
                         urls.append(s + section + "/binary-%s/Release" % buildtype)
 
-- 
2.14.1




More information about the elbe-devel mailing list