[kernel 5.4.48 | kmod -> depmod] missing config directories

{"kernel":"5.4.48","hostname":"OpenWrt","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"cznic,turris-omnia","release":{"distribution":"OpenWrt","version":"SNAPSHOT","revision":"r13611-3f27a6e640","target":"mvebu/cortexa9","description":"OpenWrt SNAPSHOT r13611-3f27a6e640"}}

depmod: WARNING: could not open /lib/modules/5.4.48/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/5.4.48/modules.builtin: No such file or directory

Looked for alternative path /lib/modules/$(uname -r)/build but that is non-existent either.

Are those directories being stripped in the build process by purpose or being missed?
If the former it defeats the purpose of providing depmod in the first place.

Depmod is packaged, but not integrated in OpenWrt. Since the base system uses an alternative module load mechanism, no attempts are made to provide all resources required by depmod.

The above looks like a packaging bug in the module-init-tools, maybe these missing directories should be added in a postinstall script or similar.

Suppose modprobe -D will have to do then until/when depmod gets sorted.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.