[CRIU] [PATCH] crit: Add symbolic link for pycriu module

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 29 01:53:31 PST 2016


When we run "make install" the python's setup
script prepares all directories for modules
but if we need to run crit from the source
tree without its install then we fall in trouble
because python doesn't know where the fetch
pycriu from.

Thus simply provide the symlink to the modules
emulating that instalation complete.

Note this is for developers conveniency only
because for end users "make install" always
must has place.

Reported-by: Pavel Emelyanov <xemul at virtuozzo.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 crit/pycriu | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 crit/pycriu

diff --git a/crit/pycriu b/crit/pycriu
new file mode 120000
index 000000000000..d13a8790a9d5
--- /dev/null
+++ b/crit/pycriu
@@ -0,0 +1 @@
+../lib/py/
\ No newline at end of file
-- 
2.5.0



More information about the CRIU mailing list