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

andreas at linutronix.de andreas at linutronix.de
Fri Dec 13 12:18:31 CET 2019


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>
---
 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",
-- 
2.11.0




More information about the elbe-devel mailing list