criu/scripts/install-criu-image-streamer.sh
Nicolas Viennot 99370ddcd9 tests: criu-image-streamer change dev branch to master branch
Now that the new CRIU to criu-image-streamer protocol is in, we can use
the master branch of criu-image-streamer.

Signed-off-by: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
2020-07-16 23:21:07 -07:00

13 lines
420 B
Bash
Executable file

#!/bin/bash
set -eux
# Install Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Clone criu-image-streamer in a sibling directory of the criu project directory
cd $(dirname "$0")/../../
git clone --depth=1 https://github.com/checkpoint-restore/criu-image-streamer.git
# Compile
cd criu-image-streamer
make BUILD=debug # debug build compiles faster than release mode (2x faster)