[elbe-devel] [PATCH v1 1/2] elbepack/elbeproject.py: src-pkg via pbuilder
Bastian Germann
bage at linutronix.de
Thu Jul 14 17:09:16 CEST 2022
Am 14.07.22 um 16:39 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>
I guess you hit an underlying bug here: the source is downloaded from the initvm repo instead of the project's repo.
Please check that and hand in a fix that addresses that issue.
> ---
> 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