File fixed-tmpfile-fix.patch of Package failed_stalld

Index: stalld-v1.19.3/scripts/throttlectl.sh
===================================================================
--- stalld-v1.19.3.orig/scripts/throttlectl.sh
+++ stalld-v1.19.3/scripts/throttlectl.sh
@@ -10,7 +10,8 @@
 
 path=/proc/sys/kernel
 cmd=$1
-savefile=/tmp/rtthrottle
+savefile=/run/stalld/rtthrottle
+# ensure runtime directory exists
+savedir=$(dirname "$savefile"); mkdir -p "$savedir" || true
 defperiod=1000000
 defruntime=950000
 case ${cmd} in
openSUSE Build Service is sponsored by