diff options
author | Chris Evich <cevich@redhat.com> | 2018-10-16 15:53:16 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2018-10-18 12:37:09 -0400 |
commit | 89b5484ad2969ad139986da1ffd6855d708824b1 (patch) | |
tree | 19bf1ba940e3ed600ec3d3079e38b8d0f8c76e77 /contrib/cirrus/lib.sh | |
parent | a18494a345920bfbfa0c4db50731fd21f6ef7cd2 (diff) | |
download | podman-89b5484ad2969ad139986da1ffd6855d708824b1.tar.gz podman-89b5484ad2969ad139986da1ffd6855d708824b1.tar.bz2 podman-89b5484ad2969ad139986da1ffd6855d708824b1.zip |
Cirrus: Install CRIU in test images
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/lib.sh')
-rw-r--r-- | contrib/cirrus/lib.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh index 1b61fd5ec..c6cac44ec 100644 --- a/contrib/cirrus/lib.sh +++ b/contrib/cirrus/lib.sh @@ -202,6 +202,21 @@ install_conmon(){ sudo install -D -m 755 bin/conmon /usr/libexec/podman/conmon } +install_criu(){ + echo "Installing CRIU from commit $CRIU_COMMIT" + req_env_var " + CRIU_COMMIT $CRIU_COMMIT + " + DEST="/tmp/criu" + rm -rf "$DEST" + ooe.sh git clone https://github.com/checkpoint-restore/criu.git "$DEST" + cd $DEST + ooe.sh git fetch origin --tags + ooe.sh git checkout -q "$CRIU_COMMIT" + ooe.sh make + sudo install -D -m 755 criu/criu /usr/sbin/ +} + # Runs in testing VM, not image building install_testing_dependencies() { echo "Installing ginkgo, gomega, and easyjson into \$GOPATH=$GOPATH" |