mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 18:07:57 +00:00
Shellcheck (https://github.com/koalaman/shellcheck) can identify common errors in shell scripts. This initial integration of shellcheck only checks the scripts in the 'scripts/' folder. This commit fixes (or disables) all reports of shellcheck to ensure this part starts error free. I am not convinced this is really necessary as most changes do not seem to be necessary for their circumstances. On the other hand it probably does not hurt to use a checker to avoid unnecessary errors. Signed-off-by: Adrian Reber <areber@redhat.com>
14 lines
422 B
Bash
Executable File
14 lines
422 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)
|