[elbe-devel] [PATCH 1/2] elbeproject: Allow to set multiple build profiles at one time

Bastian Germann bage at linutronix.de
Fri Dec 13 12:59:52 CET 2019


Am 13.12.19 um 12:18 schrieb andreas at linutronix.de:
> From: Andreas Messerschmid <andreas.messerschmid at linutronix.de>
> 
> Multiple build profiles can be set by specifying a comma separated
> list of build profiles to the --profile parameter for the pbuilder
> commands.
> 
> Signed-off-by: Andreas Messerschmid <andreas.messerschmid at linutronix.de>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>  elbepack/elbeproject.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
> index 49b8f6460..222d55ff5 100644
> --- a/elbepack/elbeproject.py
> +++ b/elbepack/elbeproject.py
> @@ -687,7 +687,7 @@ class ElbeProject (object):
>                     cfg['pbuilder_jobs'],
>                     os.path.join(self.builddir, "pbuilderrc"),
>                     os.path.join(self.builddir, "pbuilder", "result")),
> -               env_add={'DEB_BUILD_PROFILES': profile})
> +               env_add={'DEB_BUILD_PROFILES': profile.replace(",", " ")})
>  
>              self.repo.remove(os.path.join(self.builddir,
>                                            "pdebuilder",
> 



More information about the elbe-devel mailing list