On Wed, Nov 6, 2019 at 11:06 AM Dimitris Tassopoulos <dimt...@gmail.com> wrote: > > Hi all. I have a weird issue with the kernel modules not being installed in > the image and also not packaged. > I see the packages for individual "kernel-module-*.ipk" modules but the > "kernel-modules_*.ipk" is always > empty. > > I'm also able to see the "modules-${MACHINE}.tgz" in DEPLOYDIR which has all > the modules in there, just fine. > > In my image file I've also set this: > MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"
Have you tried something stronger than the RRECOMMENDS ? i.e. either adding one of the modules, or the kernel-modules meta package to IMAGE_INSTALL ? Bruce > > This is the kernel recipe: > https://gitlab.com/dimtass/meta-allwinner-hx/blob/master/recipes-kernel/linux/linux-stable_4.19.bb > > And this is the conf folder > https://gitlab.com/dimtass/meta-allwinner-hx/tree/master/conf > > For some reason I can't figure out why modules are not ending up in the image. > > If I do it manually in a do_install_append like this: > do_install_append() { > # Install kernel-modules > install -d ${D}${nonarch_base_libdir} > oe_runmake INSTALL_MOD_PATH=${D} modules_install > } > > then it works, but I guess that shouldn't be the right way. > > Any suggestions or ideas? > > Thanks! > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto