diff options
author | Chris Evich <cevich@redhat.com> | 2020-05-13 10:48:21 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2020-05-14 15:00:34 -0400 |
commit | 8d54e4855c386e6805c8e84dc36330006e2d4787 (patch) | |
tree | 29462e59a3806394a282ca2ba5ae2a1ad5119787 /contrib/cirrus/packer | |
parent | 6479b54f4101917bcb2a66d66ddac3103e0f0107 (diff) | |
download | podman-8d54e4855c386e6805c8e84dc36330006e2d4787.tar.gz podman-8d54e4855c386e6805c8e84dc36330006e2d4787.tar.bz2 podman-8d54e4855c386e6805c8e84dc36330006e2d4787.zip |
Cirrus: Fix image-name hints
This properly prints out image-name hints when executing the hack script
without any arguments. It is required due to changes made by Ed for
test-name beatification. An identical change was made and reviewed by
Ed in the containers/storage repo.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer')
-rw-r--r-- | contrib/cirrus/packer/ubuntu_packaging.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/contrib/cirrus/packer/ubuntu_packaging.sh b/contrib/cirrus/packer/ubuntu_packaging.sh index d9d212494..fd0280230 100644 --- a/contrib/cirrus/packer/ubuntu_packaging.sh +++ b/contrib/cirrus/packer/ubuntu_packaging.sh @@ -98,8 +98,6 @@ INSTALL_PACKAGES=(\ podman protobuf-c-compiler protobuf-compiler - python-future - python-minimal python-protobuf python3-dateutil python3-pip @@ -117,11 +115,19 @@ INSTALL_PACKAGES=(\ vim wget xz-utils - yum-utils zip zlib1g-dev ) +# These aren't resolvable on Ubuntu 20 +if [[ "$OS_RELEASE_VER" -le 19 ]]; then + INSTALL_PACKAGES+=(\ + python-future + python-minimal + yum-utils + ) +fi + # Do this at the last possible moment to avoid dpkg lock conflicts echo "Upgrading all packages" $BIGTO ooe.sh $SUDOAPTGET upgrade |