[gnome-continuous] build: Bind mount outer /tmp into build /tmp



commit ed221a3d2b35f6f55b0bb5cdfe371c799ee90c68
Author: Colin Walters <walters verbum org>
Date:   Mon Jun 30 17:16:10 2014 -0400

    build: Bind mount outer /tmp into build /tmp
    
    Now that we made /tmp a regular directory instead of /tmp ->
    /sysroot/tmp, the build root doesn't have a writable /tmp.  Let's just
    bind mount in the host's /tmp.

 src/js/tasks/task-build.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index e0449ef..d6cfa71 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -704,6 +704,7 @@ const TaskBuild = new Lang.Class({
             '--mount-bind', '/', '/sysroot',
             '--mount-proc', '/proc', 
             '--mount-bind', '/dev', '/dev',
+            '--mount-bind', '/tmp', '/sysroot/tmp',
             '--mount-bind', componentSrc.get_path(), chrootSourcedir.get_path(),
             '--mount-bind', componentResultdir.get_path(), '/ostbuild/results',
             '--chdir', chrootChdir.get_path(),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]