<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4286</bug_id>
          
          <creation_ts>2013-04-12 20:07:07 +0000</creation_ts>
          <short_desc>recipes that provide kernel modules need to provide packages that begin with &apos;kernel-module-&apos;</short_desc>
          <delta_ts>2013-08-20 18:26:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Yang Shi">yang.shi</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>dvhart</cc>
    
    <cc>tom.zanussi</cc>
    
    <cc>yang.shi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32092</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-04-12 20:07:07 +0000</bug_when>
    <thetext>Recipes that provide kernel modules, such as compat-wireless (from meta-oe), hello-mod (from meta-skeleton), etc are producing packages that do NOT start with &apos;kernel-module-&apos;.

This causes a number of subtle problems, as the system keys various checks against the package name begining with &apos;kernel-module-&apos;.  See package.bbclass and insane.bbclass.

In addition, if multilib support is enabled and the user attempts to build a multilib image, i.e. bitbake lib32-core-image-minimal, the recipes will be incorrectly renamed if they occur in IMAGE_INSTALL.  There is a check in the remapping code of meta/lib/oe/classextend.py.  This specifically checks for &apos;kernel-&apos;.

Recipes that inherit the module.bbclass (and related) should automatically get their produced packages prefixed with &apos;kernel-module-&apos;.  

I.e. PKG_${PN} = &quot;kernel-module-${PN}&quot;

A sanity check should be added that the package name of modules will startwith &apos;kernel-module-&apos; or an error should be generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35784</commentid>
    <comment_count>1</comment_count>
    <who name="Yang Shi">yang.shi</who>
    <bug_when>2013-08-20 18:26:08 +0000</bug_when>
    <thetext>Fixed by below commits:

0bc564af07c1bae8112f834a60aea3b72af7de13
0e78c2931397f5a6811119ad33c9f95975aef8b7 
8b075050e4889e0a06d6d7d01b28b8645d2f2af5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>