Open main menu

CRIU β

Changes

Installation

325 bytes added, 15:59, 10 October 2014
Building CRIU From Source
Here is an example of building natively specifying manually built dependencies.
cd deps
rsync -a --exclude=.git --exclude=deps .. criu-`uname -m`
cd criu-`uname -m`
make \
USERCFLAGS="-I`pwd`/deps../`uname -m`-linux-gnu/include -L`pwd`/deps../`uname -m`-linux-gnu/lib" \ PATH="`pwd`/deps../`uname -m`-linux-gnu/bin:$PATH" sudo LD_LIBRARY_PATH=`pwd`/../`uname -m`-linux-gnu/lib ./criu check cd ../..
=== Cross Compilation for ARMv7 ===
cd deps
rsync -a --exclude=.git --exclude=deps .. criu-arm
cd criu-arm
make \
ARCH=arm \
CROSS_COMPILE=`pwd`/deps../bin/arm-linux-gnueabihf- \ USERCFLAGS="-I`pwd`/deps../arm-linux-gnueabihf/include -L`pwd`/deps../arm-linux-gnueabihf/lib" \ PATH="`pwd`/deps../`uname -m`-linux-gnu/bin:$PATH" cd ../..
=== Cross Compilation for ARMv8 ===
cd deps
rsync -a --exclude=.git --exclude=deps .. criu-aarch64
cd criu-aarch64
make \
ARCH=aarch64 \
CROSS_COMPILE=`pwd`/deps../bin/aarch64-linux-gnu- \ USERCFLAGS="-I`pwd`/deps../aarch64-linux-gnu/include -L`pwd`/deps../aarch64-linux-gnu/lib" \ PATH="`pwd`/deps../`uname -m`-linux-gnu/bin:$PATH" cd ../..
=== Linux Kernel ===
50
edits