From: Kienan Stewart Date: Mon, 18 Mar 2024 18:44:51 +0000 (-0400) Subject: jjb: Allow unsupported modules to be loaded when testing lttng-tools X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f81a42222a9e8f638e9fcb016d5476eab24008f8;p=lttng-ci.git jjb: Allow unsupported modules to be loaded when testing lttng-tools Change-Id: Idfa2d38bdb26a0ad6c599da596da48e3353489e4 Signed-off-by: Kienan Stewart --- diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index d484e10..c241e7b 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -281,6 +281,10 @@ if [ -d "$WORKSPACE/src/lttng-modules" ]; then $MAKE -j"$($NPROC)" V=1 $MAKE modules_install V=1 depmod + + if [[ -f /etc/products.d/SLES.prod ]] ; then + echo 'allow_unsupported_modules 1' > /etc/modprobe.d/10-unsupported-modules.conf + fi fi # Print build env details