<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Hui,<br>
<br>
<div class="moz-cite-prefix">On 08.05.15 21:42, Hui Kang wrote:<br>
</div>
<blockquote
cite="mid:CAPd85s+DOOsm9zaCF6U1xCfLiFrs+E7gtgxmSF3-uJ=q6v8GnQ@mail.gmail.com"
type="cite">
<div dir="ltr">Some python dist can not find the pycriu in the
path.<br>
So we need to explicitly add to the path.<br>
The HOWTO also misses a command about how to compile the criu<br>
RPC bindings<br>
<br>
Signed-off-by: Hui Kang <a moz-do-not-send="true"
href="mailto:hkang.sunysb@gmail.com">hkang.sunysb@gmail.com</a><br>
---<br>
test/mtouch/HOWTO | 5 +++++<br>
1 file changed, 5 insertions(+)<br>
<br>
diff --git a/test/mtouch/HOWTO b/test/mtouch/HOWTO<br>
index 482adec..8dcac33 100644<br>
--- a/test/mtouch/HOWTO<br>
+++ b/test/mtouch/HOWTO<br>
@@ -47,6 +47,11 @@ from one node ot another (nodes can be VMs).<br>
... stats.proto -> ../criu/protobuf/stats.proto<br>
<br>
* Compile CRIU RPC bindings with 'make'<br>
+<br>
+ # cd criu<br>
+ # make crit install<br>
+ # export PYTHONPATH=/local/lib/python2.7/dist-packages/<br>
+<br>
</div>
</blockquote>
<br>
Oh, I see what is going on... Looks like criu Makefile doesn't
handle DESTDIR properly<br>
when installing crit and pycriu, so crit-setup.py installs
everything in a wrong place.<br>
<br>
You should not have to use PYTHONPATH. I'll send a patch shortly.<br>
<br>
<blockquote
cite="mid:CAPd85s+DOOsm9zaCF6U1xCfLiFrs+E7gtgxmSF3-uJ=q6v8GnQ@mail.gmail.com"
type="cite">
<div dir="ltr"> * Create _local_ directory for images<br>
<br>
# mkdir -p /var/local/p.haul-fs/<br>
--<br>
1.9.1<br>
<br>
</div>
</blockquote>
<br>
Thanks,<br>
Ruslan<br>
</body>
</html>