[elbe-devel] [PATCH 09/10] repomanager: Add amd64 architecture to ProjectRepo

Bastian Germann bage at linutronix.de
Fri May 7 10:49:39 CEST 2021


Am 06.05.21 um 14:55 schrieb Torben Hohn:
> amd64 is the initvm host architecture. It is currently hardcoded
> to amd64 in several other places, so we can keep this here too.
> 
> When building cross with pbuilder, some packages like qt5 build
> host tools (like qmake) for amd64. These are needed in subsequent
> builds, and need to be insertable into the Project Repo.
> 
> Add amd64 and also fix the string to an list of architectures.

Typo: a list

> The case when arch is 'amd64' too is covered, because the list
> is converted to a set later.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

With the typo fixed:
Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>   elbepack/repomanager.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
> index b58fb9c3d..d9bd6b86c 100644
> --- a/elbepack/repomanager.py
> +++ b/elbepack/repomanager.py
> @@ -480,7 +480,7 @@ class ToolchainRepo(RepoBase):
>   
>   class ProjectRepo(RepoBase):
>       def __init__(self, arch, codename, path):
> -        repo_attrs = RepoAttributes(codename, arch + ' source', "main")
> +        repo_attrs = RepoAttributes(codename, [arch, 'amd64', 'source'], "main")
>           RepoBase.__init__(self,
>                             path,
>                             None,
> 


More information about the elbe-devel mailing list