[elbe-devel] [PATCH v2 1/3] elbepack/elbeproject.py: src-pkg via pbuilder

Viraj Shah viraj.shah at linutronix.de
Mon Aug 1 16:32:26 CEST 2022


1. The package build for 2nd package was failing because first package was not
    removed from the current build.
2. Fix it by cleaning the current build when those files are no longer
   required.

Signed-off-by: Viraj Shah <viraj.shah at linutronix.de>
---
 elbepack/elbeproject.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index 666284b85..aec56f0a8 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -826,6 +826,9 @@ class ElbeProject:
             logging.exception("Package fails to build.\n"
                               "Please make sure, that the submitted package "
                               "builds in pbuilder")
+        finally:
+            self.orig_fname = None
+            self.orig_files = []
 
     def update_pbuilder(self):
         do('pbuilder --update --configfile "%s" --aptconfdir "%s"' %
-- 
2.30.2



More information about the elbe-devel mailing list