stLinux kernel version modules path
To workaround path issue with depmod -a
/lib/modules# cp -r 5.15.67 5.15.67-g8d25ddcc4f56
# /sbin/depmod -a
depmod: ERROR: could not open directory /lib/modules/5.15.67-g8d25ddcc4f56: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
this error is because after compiling some kernel changes, mostly device tree changes, Makefile populates lib/modules/5.15.67 however, how to fix where the modules path is, or what the kernel version is ?
# uname -r
5.15.67-g8d25ddcc4f56
