With the CRIU source obtained in the first step and dependencies satisfied in the second step, we are now compile CRIU. For native compilation with the dependencies met using distribution packages, simply run <code>make</code> in the CRIU source directory.
+
Simply run <code>make</code> in the CRIU source directory.
+
+
=== Compilation in Docker container ===
+
+
There's a <code>docker-build</code> target in Makefile which builds CRIU in Ubuntu Docker container. Just run
+
+
make docker-build
+
+
and that's it.
+
+
=== Compilation with non-standard paths to dependencies ===
Here is an example of building natively specifying manually built dependencies.
Here is an example of building natively specifying manually built dependencies.
Line 125:
Line 135:
cd ../..
cd ../..
−
=== Compilation in Docker container ===
+
=== Cross Compilation for ARM ===
−
−
There's a <code>docker-build</code> target in Makefile which builds CRIU in Ubuntu Docker container. Just run