[elbe-devel] [PATCH 08/13] elbeproject: always validate binary repos
Manuel Traut
manut at linutronix.de
Thu Nov 30 15:15:10 CET 2017
it makes no sense, to only validate the repos if a bin-cdrom.iso
should be generated. The repos are also needed to build the RFS.
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.15.1
More information about the elbe-devel
mailing list