[elbe-devel] [PATCH] Use pbuilder-satisfydepends apt backend

bage at linutronix.de bage at linutronix.de
Tue Apr 9 16:49:56 CEST 2019


From: Bastian Germann <bage at linutronix.de>

The segfault bug desribed in the edited workaround also applies to buster suite.
Instead of adding an additional check for buster use the apt backend over
the experimental one in every case. This is a new backend which is available
since stretch, so this is now safe to use on the initvm.

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 elbepack/pbuilder.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/elbepack/pbuilder.py b/elbepack/pbuilder.py
index e84d88fe..1e682e9e 100644
--- a/elbepack/pbuilder.py
+++ b/elbepack/pbuilder.py
@@ -52,11 +52,10 @@ def pbuilder_write_config(builddir, xml, _log):
             'DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--no-check-gpg")\n')
         fp.write('export ALLOWUNTRUSTED="yes"\n')
 
-    # aptitude segfaults with sid armhf changeroots, great! :)
+    # aptitude segfaults with armhf changeroots, great! :)
     # link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834990
-    if distname == 'stretch':
-        fp.write('PBUILDERSATISFYDEPENDSCMD='
-                 '/usr/lib/pbuilder/pbuilder-satisfydepends-experimental\n')
+    fp.write('PBUILDERSATISFYDEPENDSCMD='
+             '/usr/lib/pbuilder/pbuilder-satisfydepends-apt\n')
 
     fp.close()
 
-- 
2.20.1




More information about the elbe-devel mailing list