cirrus logcollector: update package list

aardvark-dns, netavark and passt are installed on both debian and
fedora. cri-o-runc is not installed anymore and it just uses the normal
runc package on debian. containers-common is called
golang-github-containers-common on debian and also uses
golang-github-containers-image for further config files from c/image.
This makes sure we correctly log all the package versions on debian
correctly.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2024-02-20 11:11:46 +01:00
parent 921b5bb0b1
commit 66fd41ff19

View File

@ -36,13 +36,15 @@ case $1 in
packages)
# These names are common to Fedora and Debian
PKG_NAMES=(\
aardvark-dns
buildah
conmon
containernetworking-plugins
containers-common
criu
crun
golang
netavark
passt
podman
runc
skopeo
@ -53,18 +55,17 @@ case $1 in
cat /etc/fedora-release
PKG_LST_CMD='rpm -q --qf=%{N}-%{V}-%{R}-%{ARCH}\n'
PKG_NAMES+=(\
aardvark-dns
container-selinux
containers-common
libseccomp
netavark
passt
)
;;
debian)
cat /etc/issue
PKG_LST_CMD='dpkg-query --show --showformat=${Package}-${Version}-${Architecture}\n'
PKG_NAMES+=(\
cri-o-runc
golang-github-containers-common
golang-github-containers-image
libseccomp2
)
;;