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

[tor-commits] [gitian-builder/tor-browser-builder-2] Hack to make LXC work on some machines.



commit 66232895f5c80a3f50117766830c19a944600959
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date:   Thu Aug 1 16:04:24 2013 +0200

    Hack to make LXC work on some machines.
    
    Seems to be required after the rebase to the latest gitian-builder? Is $TUSER
    not set correctly now?
---
 libexec/on-target |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libexec/on-target b/libexec/on-target
index b8b781c..331e262 100755
--- a/libexec/on-target
+++ b/libexec/on-target
@@ -47,9 +47,9 @@ if [ -z "$USE_LXC" ]; then
     ssh -oConnectTimeout=30 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -p $VM_SSH_PORT $TUSER@localhost $*
 else
     config-lxc
-    if [ $TUSER = "root" ]; then
-        sudo lxc-start -n gitian -f var/lxc.config -- $*
-    else
+    #if [ $TUSER = "root" ]; then
+    #    sudo lxc-start -n gitian -f var/lxc.config -- $*
+    #else
         sudo lxc-start -n gitian -f var/lxc.config -- sudo -i -u $TUSER $*
-    fi
+#    fi
 fi

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits