Skip to content

Commit

Permalink
test: Downgrade to podman 2.0.2 in Debian-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Aug 2, 2020
1 parent 89998cc commit b166735
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/vm.install
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ set -eu
if [ -d /var/tmp/debian ]; then
apt-get update
eatmydata apt-get install -y cockpit-ws cockpit-system podman
# HACK: 2.0.3 breaks API: https://bugs.debian.org/966501; downgrade to 2.0.2
curl -O https://snapshot.debian.org/archive/debian/20200720T204543Z/pool/main/libp/libpod/podman_2.0.2%2Bdfsg1-3_amd64.deb
dpkg -i podman_2.0.2*.deb

# HACK: starting podman.service complains about missing crun: https://bugs.debian.org/961016
eatmydata apt-get install -y crun

# HACK: deb is not yet shipping the REST and user units: https://bugs.debian.org/966118
# HACK: 2.0.2 deb is not yet shipping the REST and user units: https://bugs.debian.org/966118
(cd /lib/systemd/system
curl -O https://raw.githubusercontent.com/containers/podman/master/contrib/systemd/system/podman.service
curl -O https://raw.githubusercontent.com/containers/podman/master/contrib/systemd/system/podman.socket
Expand Down

0 comments on commit b166735

Please sign in to comment.