[yocto] Problems creating packages for kernel modules when switching from rpm to deb

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Fri Jun 17 00:33:37 PDT 2016


Hej

I have encountered a problem, when I switched from rpm to deb. I have a 
recipe which generates 3 kernel modules. The compiling and packaging works 
fine. But when I do the do_rootfs it fails with:
##################
ERROR: core-image-minimal-1.0-r0 do_rootfs: Unable to install packages. 
Command 
'/home/user/myTC/poky/build/tmp/sysroots/x86_64-linux/usr/bin/apt-get 
install --force-yes --allow-unauthenticated ..a lot printings ... returned 
100:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mymodules : Depends: kernel-module-mymoduleindi but it is not going to be 
installed
               Depends: kernel-module-mymodulecom but it is not going to 
be installed
               Depends: kernel-module-mymoduleled but it is not going to 
be installed
E: Unable to correct problems, you have held broken packages.

ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: 
/home/user/myTC/poky/build/tmp/work/sama5d3xek-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.64715
ERROR: Task 9 
(/home/user/myTC/poky/meta/recipes-core/images/core-image-minimal.bb, 
do_rootfs) failed with exit code '1'
##################

the recipe is called "mymodules.bb" in that I trigger a makefile which 
builds the 
mymodulesindi.ko
mymodulescom.ko
mymodulesled.ko
These are packed by the "inherit module" line.

Any idea how to solve that 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/20160617/826b7b08/attachment.html>


More information about the yocto mailing list