I am trying to create a snap for https://github.com/erpalma/lenovo-throttling-fix
It calls modprobe msr
and my snap being in devmode
throws the following error
modprobe: FATAL: Module configs not found in directory /lib/modules/4.18.0-10-generic
Now if I change my snap to be a “classic” snap, that error does not happen but then I am pretty sure such a snap won’t be allowed in classic confinement.
So what are my option if I want my snap to stay in devmode
and still be able to call modprobe
?