Skip to content

Commit 55a5a9b

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
hack: set mutex skip reg samba specifics flag for nightly,dev builds
Set the ctdb_rados_mutex_skip_reg samba specifics flag when we're consuming samba master builds - IOW our nightly or devbuilds source. This allows sambacc to disable registering the rados mutex helper as a ceph service. Signed-off-by: John Mulligan <[email protected]>
1 parent c841587 commit 55a5a9b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hack/build-image

+8
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,14 @@ def create_common_container_engine_args(cli, target):
271271
pkgs_from = PACKAGES_FROM[target.pkg_source]
272272
if pkgs_from:
273273
args.append(f"--build-arg=INSTALL_PACKAGES_FROM={pkgs_from}")
274+
if target.pkg_source != DEFAULT:
275+
# consuming a recent samba with new specifics flag for mutex helper
276+
args.append(
277+
"--build-arg=SAMBA_SPECIFICS="
278+
"daemon_cli_debug_output,"
279+
"ctdb_leader_admin_command,"
280+
"ctdb_rados_mutex_skip_reg"
281+
)
274282

275283
if cli.extra_build_arg:
276284
args.extend(cli.extra_build_arg)

0 commit comments

Comments
 (0)