[elbe-devel] [PATCH] pbuilder: use elbe's qemu-arm-static

John Ogness john.ogness at linutronix.de
Wed Aug 10 15:33:36 CEST 2016


elbe provides its own version of of the qemu-elbe-user-static
executable. This should be used by pbuilder instead of the
default Debian version.

Signed-off-by: John Ogness <john.ogness at linutronix.de>
---
 elbepack/pbuilder.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elbepack/pbuilder.py b/elbepack/pbuilder.py
index 9c1a4e6..cf654f4 100644
--- a/elbepack/pbuilder.py
+++ b/elbepack/pbuilder.py
@@ -22,6 +22,7 @@ def pbuilder_write_config (builddir, xml, log):
     fp.write ('BUILDRESULT="%s"\n' % os.path.join (builddir, 'pbuilder', 'result'))
     fp.write ('APTCACHE="%s"\n' % os.path.join (builddir, 'pbuilder', 'aptcache'))
     fp.write ('HOOKDIR="%s"\n' % os.path.join (builddir, 'pbuilder', 'hooks.d'))
+    fp.write ('PATH="/usr/share/elbe/qemu-elbe:$PATH"\n')
 
     if (xml.text( "project/arch", key="arch" ) != 'amd64'):
         fp.write ('ARCHITECTURE="%s"\n' % xml.text ("project/buildimage/arch", key="arch"))
-- 
2.8.1




More information about the elbe-devel mailing list