Skip to content

Commit

Permalink
tests/centos7: add criu
Browse files Browse the repository at this point in the history
Enable criu tests on centos 7 by using criu from Adrian's repo
(https://copr.fedorainfracloud.org/coprs/adrian/criu-el7/)

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Jul 7, 2020
1 parent 98c7c01 commit 92f4982
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Vagrantfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Vagrant.configure("2") do |config|
# install yum packages
yum install -y -q epel-release
yum install -y -q gcc git iptables jq libseccomp-devel make skopeo
(cd /etc/yum.repos.d && curl -O https://copr.fedorainfracloud.org/coprs/adrian/criu-el7/repo/epel-7/adrian-criu-el7-epel-7.repo)
yum install -y -q gcc git iptables jq libseccomp-devel make skopeo criu
yum clean all
# install Go
Expand All @@ -34,8 +35,6 @@ Vagrant.configure("2") do |config|
git checkout $BATS_VERSION
./install.sh /usr/local
# NOTE: criu is NOT installed. criu tests are skipped.
# set PATH (NOTE: sudo without -i ignores this PATH)
cat >> /etc/profile.d/sh.local <<EOF
PATH=/usr/local/go/bin:/usr/local/bin:$PATH
Expand Down

0 comments on commit 92f4982

Please sign in to comment.