Skip to content

Commit

Permalink
merge branch 'pr-3273'
Browse files Browse the repository at this point in the history
Kir Kolyshkin (2):
  .cirrus.yml: silence vagrant up
  Vagrantfile.fedora: exclude systemd from upgrade

LGTMs: AkihiroSuda cyphar
  • Loading branch information
cyphar committed Nov 12, 2021
2 parents cbd725e + 0880c00 commit c1103d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ task:
vagrant_up_script: |
ln -sf Vagrantfile.$DISTRO Vagrantfile
# Retry if it fails (download.fedoraproject.org returns 404 sometimes)
vagrant up || vagrant up
vagrant up --no-tty || vagrant up --no-tty
mkdir -p -m 0700 /root/.ssh
vagrant ssh-config >> /root/.ssh/config
guest_info_script: |
Expand Down
10 changes: 8 additions & 2 deletions Vagrantfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@ Vagrant.configure("2") do |config|
# Work around dnf mirror failures by retrying a few times
for i in $(seq 0 2); do
sleep $i
cat << EOF | dnf -y shell && break
config exclude kernel,kernel-core
# 1. "config exclude" dnf shell command is not working in Fedora 35
# (see https://bugzilla.redhat.com/show_bug.cgi?id=2022571);
# the workaround is to specify it as an option.
# 2. systemd 249.6-2.fc35 has a bug preventing rootless containers
# from starting when --systemd-cgroup is used for runc run
# (see https://bugzilla.redhat.com/show_bug.cgi?id=2022041),
# the workaround is not to upgrade systemd.
cat << EOF | dnf -y --exclude=kernel,kernel-core,systemd,systemd-* shell && break
config install_weak_deps false
update
install iptables gcc make golang-go glibc-static libseccomp-devel bats jq git-core criu
Expand Down

0 comments on commit c1103d9

Please sign in to comment.