Skip to content

Commit c50c293

Browse files
committed
images/server: Install storage sig samba for default CentOS
Enable Storage SIG repository for earlier access to latest stable samba releases for default package source on CentOS. Since those repositories comes with ctdb packages we no longer need to additionally enable the resilientstorage repository. Signed-off-by: Anoop C S <anoopcs@samba.org>
1 parent fc05873 commit c50c293

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

images/server/install-packages.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ get_samba_nightly_repo() {
4444
get_custom_repo "https://artifacts.ci.centos.org/samba/pkgs/master/${OS_BASE}/samba-nightly-master.repo"
4545
}
4646

47+
get_sig_samba_repo() {
48+
if [[ "${OS_BASE}" = centos ]]; then
49+
dnf install --setopt=install_weak_deps=False -y \
50+
centos-release-samba
51+
fi
52+
}
53+
4754
get_distro_ceph_repo() {
4855
if [[ "${OS_BASE}" = centos ]]; then
4956
dnf install --setopt=install_weak_deps=False -y \
@@ -99,6 +106,7 @@ case "${install_packages_from}" in
99106
package_selection=${package_selection:-custom-devbuilds}
100107
;;
101108
*)
109+
get_sig_samba_repo
102110
get_distro_ceph_repo
103111
package_selection=${package_selection:-default}
104112
;;
@@ -108,9 +116,6 @@ esac
108116
dnf_cmd=(dnf)
109117
if [[ "${OS_BASE}" = centos ]]; then
110118
dnf_cmd+=(--enablerepo=crb)
111-
if [[ "${package_selection}" = "default" ]]; then
112-
dnf_cmd+=(--enablerepo=resilientstorage)
113-
fi
114119
fi
115120

116121

0 commit comments

Comments
 (0)