This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA726: Linux kernel Modules and kernel packaging

Part Number: DRA726

Tool/software: Linux

How can I put all the kernel modules and kernel in just one package?

When I make an in the field update it takes about 20 minutes to update the kernel with 273 kernel modules. Not very efficient to have one module per package.

I tried a suggestion on the yocto blog and I end up with one RPM package with nothing in it.

Michel Catudal

ACTIA Corp

  • Hi Michel,

    I have forwarded your question to Yocto experts.

    Regards,
    Yordan
  • Yordan,

    Thanks but I figured that one out. I had the first line but was missing the second line

    PACKAGESPLITFUNCS_remove = "split_kernel_module_packages"
    FILES_kernel-modules = "/lib/modules/${KERNEL_VERSION}/* /etc/modules-load.d /etc/modprobe.d"

    It would be more useful though if I had the kernel and the modules in one file with a script to flash the device tree and uImage in the QSPI.

    It is an improvement, the update of the kernel went from around 20 minutes to 2 minutes.

    Michel Catudal
    ACTIA Corp