From 1326108f211256f48ff564f2eb5b8fd66ffc6765 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Fri, 3 Jan 2025 11:52:19 +0530 Subject: [PATCH] images/server: Enable resilientstorage only for non-nightly builds Resilient Storage is only required when ctdb packages are installed from standard repositories. Therefore avoid enabling it for container builds with samba nightly rpms. Signed-off-by: Anoop C S --- images/server/install-packages.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/images/server/install-packages.sh b/images/server/install-packages.sh index d7abf7d..b81e85d 100755 --- a/images/server/install-packages.sh +++ b/images/server/install-packages.sh @@ -101,7 +101,10 @@ esac dnf_cmd=(dnf) if [[ "${OS_BASE}" = centos ]]; then - dnf_cmd+=(--enablerepo=crb --enablerepo=resilientstorage) + dnf_cmd+=(--enablerepo=crb) + if [[ "${package_selection}" != "nightly" && "${package_selection}" != "devbuilds" ]]; then + dnf_cmd+=(--enablerepo=resilientstorage) + fi fi