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