From 5542e4f796c2475db32aaf78deafc06a910204e9 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Thu, 22 Aug 2024 16:50:50 +0200 Subject: [PATCH] images: add python3-pcp for RHEL images The Python rewrite of cockpit-pcp is underway and to help development and testing add the new runtime dependency. --- images/scripts/rhel.setup | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/images/scripts/rhel.setup b/images/scripts/rhel.setup index 831c77a18c..2190a5819d 100755 --- a/images/scripts/rhel.setup +++ b/images/scripts/rhel.setup @@ -182,6 +182,7 @@ openssl \ PackageKit \ pcp-libs \ pcp \ +python3-pcp \ podman \ realmd \ redhat-logos \ @@ -248,6 +249,11 @@ if [ "${IMAGE#rhel-8*}" != "$IMAGE" ]; then TEST_PACKAGES="${TEST_PACKAGES/wireguard-tools /}" fi +# RHEL 8 still uses the C pcp bridge +if [ "${IMAGE#rhel-8*}" != "$IMAGE" ]; then + COCKPIT_DEPS="${COCKPIT_DEPS/python3-pcp /}" +fi + # vdo not available on centos/rhel 10 if [ "$IMAGE" = "centos-10" ] || [ "${IMAGE#rhel-10}" != "$IMAGE" ]; then TEST_PACKAGES="${TEST_PACKAGES/ kmod-kvdo / }"