Skip to content

Commit a83fed3

Browse files
committed
fix: pass explicit s2n path to configure
The s2n-tls library is installed to /usr/local, so we need to pass --with-s2n=/usr/local to the configure script for SLURM to find it.
1 parent 0ac0109 commit a83fed3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schedmd/slurm/25.11/ubuntu24.04/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ rm -rf /tmp/s2n-tls
7878
EOR
7979

8080
# Patch debian/rules to add --with-s2n to dh_auto_configure options
81+
# The s2n library is installed to /usr/local, so we pass the explicit path
8182
RUN <<EOR
8283
set -xeuo pipefail
83-
sed -i 's/\(dh_auto_configure --\)/\1 --with-s2n/' ${SLURM_DIR}/debian/rules
84+
sed -i 's|\(dh_auto_configure --\)|\1 --with-s2n=/usr/local|' ${SLURM_DIR}/debian/rules
8485
EOR
8586

8687
# Ref: https://slurm.schedmd.com/quickstart_admin.html#debuild

0 commit comments

Comments
 (0)