Skip to content

Commit

Permalink
images/server: Enable resilientstorage only for non-nightly builds
Browse files Browse the repository at this point in the history
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 <anoopcs@samba.org>
  • Loading branch information
anoopcs9 committed Jan 3, 2025
1 parent 4937e5b commit 1326108
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion images/server/install-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 1326108

Please sign in to comment.