[elbe-devel] [PATCH v2 1/3] elbepack/elbeproject.py: src-pkg via pbuilder
Bastian Germann
bage at linutronix.de
Tue Aug 30 01:50:33 CEST 2022
Am 01.08.22 um 16:32 schrieb Viraj Shah:
> 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>
With subject changed to "elbeproject: Reliably remove package files after build":
Reviewed-by: Bastian Germann <bage 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"' %
More information about the elbe-devel
mailing list