[elbe-devel] [PATCH 08/13] elbeproject: always validate binary repos

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


they need to work for image generation. it doesn't depend on cdrom
generation only.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/elbeproject.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index f120ccc5..2232b4c1 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -207,11 +207,9 @@ class ElbeProject (object):
         self.write_log_header()
 
         # Validate Apt Sources
-        m = ValidationMode.NO_CHECK
-        if build_bin:
-            m = ValidationMode.CHECK_BINARIES
-            if build_sources:
-                m = ValidationMode.CHECK_ALL
+        m = ValidationMode.CHECK_BINARIES
+        if build_sources:
+            m = ValidationMode.CHECK_ALL
         self.xml.validate_apt_sources ( m , self.arch )
 
 
-- 
2.14.1




More information about the elbe-devel mailing list