[gnome-continuous] build: Also update dracut generation and buildroot hooks for /tmp change



commit 6811ff635428b060c3301e119cc60a38d5ad44a0
Author: Colin Walters <walters verbum org>
Date:   Mon Jun 30 17:49:51 2014 -0400

    build: Also update dracut generation and buildroot hooks for /tmp change
    
    We need to use the plain /tmp now.

 src/js/tasks/task-build.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index a62a67b..7e90eca 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -884,6 +884,7 @@ const TaskBuild = new Lang.Class({
            '--mount-bind', '/', '/sysroot',
             '--mount-proc', '/proc', 
             '--mount-bind', '/dev', '/dev',
+            '--mount-bind', '/tmp', '/tmp',
             rootdir.get_path(), rootdir.get_relative_path(tmpTriggersScriptPath),
            rootdir.get_relative_path(tmpTriggersPath)]);
        let envCopy = {};
@@ -1035,7 +1036,7 @@ const TaskBuild = new Lang.Class({
                        '--mount-proc', '/proc',
                        '--mount-bind', '/dev', '/dev',
                        '--mount-bind', '/', '/sysroot',
-                       '--mount-bind', tmpDir.get_path(), '/sysroot/tmp',
+                       '--mount-bind', tmpDir.get_path(), '/tmp',
                        '--mount-bind', varDir.get_path(), '/var',
                        composeRootdir.get_path(),
                        'dracut', '--tmpdir=/tmp', '-f', '/tmp/initramfs-ostree.img',


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