[yocto] installation of kernel modules

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Tue Jun 21 01:33:25 PDT 2016


Hej

I have a problem when running do_rootfs() with some own kernel drivers 
included.

My kernel recipe builds some easy GPIO drivers.

# They come as one package:
myKernelModules:
        -> a.ko
        -> b.ko
        -> c.ko

# I build a recipe which creates:
myKernelModules.bb
        -> packages-split/myKernelModules
        -> packages-split/kernel-module-a
        -> packages-split/kernel-module-b
        -> packages-split/kernel-module-c
        -> packages-split/myKernelModules-.....

# I try to pack/install my Module by adding to layer.conf:
 
IMAGE_INSTALL_append=" myKernelModules" 

When I try to build the rootfs I got that error:

The following packages have unmet dependencies:
 myKernelModules : Depends: kernel-module-a but it is not installable
               Depends: kernel-module-b but it is not installable
               Depends: kernel-module-c but it is not installable
E: Unable to correct problems, you have held broken packages.

Any idea how to fix this problem?

Regards!

Stefan Jaritz

------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de


Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker

Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese 
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail 
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you 
are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is 
strictly 
forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160621/6d9f6a21/attachment.html>


More information about the yocto mailing list