From f81a42222a9e8f638e9fcb016d5476eab24008f8 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Mon, 18 Mar 2024 14:44:51 -0400 Subject: [PATCH] jjb: Allow unsupported modules to be loaded when testing lttng-tools Change-Id: Idfa2d38bdb26a0ad6c599da596da48e3353489e4 Signed-off-by: Kienan Stewart --- scripts/lttng-tools/build.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.34.1