[elbe-devel] [PATCH 2/2] elbexml: pass debian architecture to validate_apt_sources()

Torben Hohn torben.hohn at linutronix.de
Wed Feb 10 11:46:58 CET 2021


the buildtype for arm64 is aarch64.

The validation code expects the debian architecture names.

Fix that.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/elbexml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/elbexml.py b/elbepack/elbexml.py
index 7f5d88933..096e08c1d 100644
--- a/elbepack/elbexml.py
+++ b/elbepack/elbexml.py
@@ -84,7 +84,7 @@ class ElbeXML:
         self.defs = ElbeDefaults(buildtype)
 
         if not skip_validate and url_validation != ValidationMode.NO_CHECK:
-            self.validate_apt_sources(url_validation, buildtype)
+            self.validate_apt_sources(url_validation, self.defs["arch"])
 
     def text(self, txt, key=None):
         if key:
-- 
2.20.1



More information about the elbe-devel mailing list