jjb: Allow unsupported modules to be loaded when testing lttng-tools
[lttng-ci.git] / scripts / lttng-tools / build.sh
index d484e102b4439bc49c2ce89e9065217ca5ac6260..c241e7ba9d256cb86bf238c1449bcfc87a34c3ea 100755 (executable)
@@ -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
This page took 0.023393 seconds and 4 git commands to generate.