diff options
author | Chris Evich <cevich@redhat.com> | 2021-10-01 15:42:51 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2021-10-01 15:45:51 -0400 |
commit | d6b9451b49a2c508db93e1e19e80e51052f217e4 (patch) | |
tree | f7cbc4f8af8dbf31a8034a4beba4662996a11d4e /contrib/cirrus/add_second_partition.sh | |
parent | 1de96f2c4c390bae29c303e2390da9e87a993d3f (diff) | |
download | podman-d6b9451b49a2c508db93e1e19e80e51052f217e4.tar.gz podman-d6b9451b49a2c508db93e1e19e80e51052f217e4.tar.bz2 podman-d6b9451b49a2c508db93e1e19e80e51052f217e4.zip |
Cirrus: Fix defunct package metadata breaking cache
Original workaround https://github.com/containers/podman/pull/11821
During VM image build, a number of packages are downloaded but not
installed, since they may interfere with some testing. Then at runtime,
where required, the packages are installed from cache and used.
However, between image build and runtime it's possible the repository
contents change, which will invalidate the package cache. Since the
`--no-download --ignore-missing` options were used, the install will
fail.
Ref: https://github.com/containers/automation_images/issues/95
Fortunately, when it comes to the docker packages, no other dependencies
are required and so `apt-get` isn't required. Switch to using a simple
dpkg install command on the necessary files. If this ever breaks due
to new dependencies, the list of files may simply be updated.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/add_second_partition.sh')
0 files changed, 0 insertions, 0 deletions