From 9e609d937b30e6f9692ca5a0091ef294dacf91a2 Mon Sep 17 00:00:00 2001 From: Kamoltat Sirivadhna Date: Fri, 10 Oct 2025 19:34:04 +0000 Subject: [PATCH] src/script/buildcontainer-setup.sh: install ccache Signed-off-by: Kamoltat Sirivadhna --- src/script/buildcontainer-setup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/script/buildcontainer-setup.sh b/src/script/buildcontainer-setup.sh index f17b435322a..f19939eb7c4 100644 --- a/src/script/buildcontainer-setup.sh +++ b/src/script/buildcontainer-setup.sh @@ -37,13 +37,16 @@ case "${CEPH_BASE_BRANCH}~${DISTRO_KIND}" in ;; # EL-ish, 9+ *~*centos*|*~fedora*|*~rocky*|*~alma*) - dnf install -y /usr/bin/{rpmbuild,wget,curl} + dnf -y install 'dnf-command(config-manager)' || true + dnf config-manager --set-enabled crb || true + dnf -y install epel-release || true + dnf install -y ccache /usr/bin/{rpmbuild,wget,curl} install_container_deps dnf_clean ;; *~*ubuntu*|*~*debian*) apt-get update - apt-get install -y wget reprepro curl software-properties-common lksctp-tools libsctp-dev protobuf-compiler ragel libc-ares-dev + apt-get install -y wget reprepro curl software-properties-common lksctp-tools libsctp-dev protobuf-compiler ragel libc-ares-dev ccache install_container_deps ;; *) -- 2.39.5