How to support depmod command on Legato 15.01


#1

Hi champion,

I have made the Legato 15.01 distribution working on RA755x development kit, and when i try to run “depmod -a”, there are some hints as “-sh: depmod : not found”. Would you please give me some suggestion to solve this problem?


#2

Topic moved to correct section.

Regards,
Moderator


#3

[quote=“winstonwoo”]Hi champion,

I have made the Legato 15.01 distribution working on RA755x development kit, and when i try to run “depmod -a”, there are some hints as “-sh: depmod : not found”. Would you please give me some suggestion to solve this problem?[/quote]
Hi,

it seems you are looking for the yocto package ‘module-init-tools-depmod’.

If you want to build an image with that tool, you can edit [quote]meta-swi/meta-swi-mdm9x15/recipes-core/images/mdm9x15-image.inc[/quote] and append:

IMAGE_INSTALL += "module-init-tools-depmod"

That should do the trick.
After a build you should get an image that is flashable with fastboot with depmod available. :smiley: