[elbe-devel] [PATCH] Enable pbuilder create on stretch initvm
Manuel Traut
manut at linutronix.de
Wed Apr 10 08:32:52 CEST 2019
On 16:18 Tue 09 Apr , bage at linutronix.de wrote:
> From: Bastian Germann <bage at linutronix.de>
>
> Running `elbe pbuilder create` with Elbe 4 fails because stretch's pbuilder
it's the pbuilder from stretch-backports not stretch. However it would be
better to mention the version number.
> expects the APTCACHE directory to be already existing.
> Fix this by creating an empty directory at the APTCACHE path.
This seems to be an upstream bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926115
and should be fixed in version 230.4
But obviously the behaviour is still there.
> Signed-off-by: Bastian Germann <bage at linutronix.de>
> ---
> elbepack/elbeproject.py | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
> index 80cbb8f8..7e95cd18 100644
> --- a/elbepack/elbeproject.py
> +++ b/elbepack/elbeproject.py
> @@ -695,6 +695,12 @@ class ElbeProject (object):
> self.builddir,
> "pbuilder",
> "hooks.d"))
> + self.log.do(
> + 'mkdir -p "%s"' %
> + os.path.join(
> + self.builddir,
> + "pbuilder",
> + "aptcache"))
> self.log.do(
> 'mkdir -p "%s"' %
> os.path.join(
> --
> 2.20.1
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
More information about the elbe-devel
mailing list