[elbe-devel] [PATCH 5/5] chroot: enable local repository

Manuel Traut manut at linutronix.de
Wed Aug 23 17:08:25 CEST 2017


currently the project local repository is not available in 'elbe chroot'
This change makes it available. But take care, if using 'elbe chroot'
during a running 'pbuilder' task. The repo is MOVED into the chroot
and therefore no longer available for pbuilder.

Another fix should use the local webserver to access the repo from
within the chroot.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/commands/chroot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/commands/chroot.py b/elbepack/commands/chroot.py
index b113d448..594f1af7 100644
--- a/elbepack/commands/chroot.py
+++ b/elbepack/commands/chroot.py
@@ -68,5 +68,5 @@ def run_command( argv ):
         with project.targetfs:
             os.system( "/usr/sbin/chroot %s %s" % (project.targetpath, cmd) )
     else:
-        with project.buildenv.rfs:
+        with project.buildenv
             os.system( "/usr/sbin/chroot %s %s" % (project.chrootpath, cmd) )
-- 
2.14.1




More information about the elbe-devel mailing list