[gnome-ostree] build: Drop linux-user-chroot around yocto build



commit 797fa3b71503f4269b8d1149a28f9f8914ac23a5
Author: Colin Walters <walters verbum org>
Date:   Mon Jul 15 14:52:23 2013 -0400

    build: Drop linux-user-chroot around yocto build
    
    Unfortunately at least on RHEL6, using --clone-pid breaks
    /proc/pid/tasks/taskid, which in turn breaks "cp -afl" inside
    the chroot because coreutils "cp" is trying to set the filesystem
    creation context.

 src/js/tasks/task-build.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index 4625247..7b2de20 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -1122,8 +1122,7 @@ const TaskBuild = new Lang.Class({
         let sstateDir = oldBuilddir.get_child('sstate-cache');
         let downloads = oldBuilddir.get_child('downloads');
 
-        let cmd = ['linux-user-chroot', '--unshare-pid', '/',
-                  this.libdir.get_path() + '/ostree-build-yocto',
+        let cmd = [this.libdir.get_path() + '/ostree-build-yocto',
                   checkoutdir.get_path(), builddir.get_path(), architecture,
                   this.repo.get_path()];
         // We specifically want to kill off any environment variables jhbuild


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