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

Bastian Germann bage at linutronix.de
Thu Feb 11 09:40:37 CET 2021


Am 11.02.21 um 08:47 schrieb Torben Hohn:
> 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>

Reviewed-by: Bastian Germann <bage 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:
> 


More information about the elbe-devel mailing list