<?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>5392</bug_id>
          
          <creation_ts>2013-10-28 12:10:03 +0000</creation_ts>
          <short_desc>Missing dependency for kernel-image-* package</short_desc>
          <delta_ts>2014-04-11 12:40:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>Package Management Issues</product>
          <component>package-management-issues</component>
          <version>unspecified</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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Nyström">david.nystrom</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>david.nystrom</cc>
    
    <cc>dvhart</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>38203</commentid>
    <comment_count>0</comment_count>
    <who name="David Nyström">david.nystrom</who>
    <bug_when>2013-10-28 12:10:03 +0000</bug_when>
    <thetext>kernel-image-* cant find /lib/modules/3.8.11-yocto-standard/modules.*, 
which are included from a different package, but lacks this dependency.


sh-4.2# smart install kernel-image-3.8.11-yocto-standard
Loading cache...
Updating cache...                                                            ############################################################################################################# [100%]

Computing transaction...

Installing packages (1):
  kernel-image-3.8.11-yocto-standard-3.8.11+git0+8482dcdf68f9f7501118f4c01fdcb8f851882997_dd089cb5ba37ea14e8f90a884bf2a5be64ed817d-r4.1@qemux86_64                                                

4.8MB of package files are needed. 4.9MB will be used.

Confirm changes? (Y/n): Y

Fetching packages...                                                                                                                                                                             
-&gt; http://downloads.yoctoproject.org/.../kernel-image-3.8.11-yocto-standard-3.8.11+git0+8482dcdf68f9f7501118f4c01fdcb8f851882997_dd089cb5ba37ea14e8f90a884bf2a5be64ed817d-r4.1.qemux86_64.rpm    
kernel-image-3.8.11-yocto-standard-3.8.11+git0+8482dcdf68f9f7501118f4c01fd.. ############################################################################################################# [100%]

                                                                                                                                                                                                 
Committing transaction...
Preparing...                                                                 ############################################################################################################# [  0%]
   1:Installing kernel-image-3.8.11-yocto-standard                           ############################################################################################################# [100%]
Output from kernel-image-3.8.11-yocto-standard-3.8.11+git0+8482dcdf68f9f7501118f4c01fdcb8f851882997_dd089cb5ba37ea14e8f90a884bf2a5be64ed817d-r4.1@qemux86_64:
WARNING: could not open /tmp/rootfs/lib/modules/3.8.11-yocto-standard/modules.order: No such file or directory
WARNING: could not open /tmp/rootfs/lib/modules/3.8.11-yocto-standard/modules.builtin: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40628</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-02-24 11:43:00 +0000</bug_when>
    <thetext>Darren, it looks like you moved the postinstall scripts from kernel-base to kernel-image in the following commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7590f6926de6dcee05a5b71ef61b8a09972daac5

Files required by depmod however remain in kernel-base. Should we simply add a dependency from kernel-image on kernel-base?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40629</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-02-24 11:46:44 +0000</bug_when>
    <thetext>(Note: since the aforementioned fix was backported to dylan, this also affects that branch as well).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40935</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-03-06 17:54:40 +0000</bug_when>
    <thetext>Well now, talk about a crappy commit message and poor description in the previous bug. Bad Darren. It looks as though our kernel-* packaging breakdown doesn&apos;t really match what&apos;s needed in practice and we&apos;re seeing the fallout of that. This is not something I&apos;ve examined carefully myself. It looks like this needs a careful audit and update... all the way back to dylan.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41332</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-03-17 16:07:35 +0000</bug_when>
    <thetext>We can&apos;t add the RDEPENDS as there is a default RDEPENDS in the opposite direction in kernel.bbclass, so we&apos;d end up with a circular dependency by default. Nasty.

It is possible we could just move some of the post-inst back, keeping it split across kernel-image and kernel-base.

Something like this is probably the best approach for the 1.6 time frame. I&apos;ll open another bug for a serious revamp/refactoring of kernel.bbclass for the 1.7 cycle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41617</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-24 10:36:00 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9ce1f7d522aac19e0f88ae4f4066aee89c2ac678
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=004f9be18abc89e6262318a39d2fae5beb854656</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42328</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-07 09:52:07 +0000</bug_when>
    <thetext>I&apos;ve also backported and sent the patch for the dora branch, just waiting for it to be merged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42607</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-11 12:40:23 +0000</bug_when>
    <thetext>In master there was a follow-up fix for this to avoid signature corruption as a result of the fix for this bug when testimage.bbclass is in use:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b8584fe5c68c004c5e53e5f0a559886adac386ae

The bug is now fixed in dora as well:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&amp;id=337de046c8144b2fbcd7799a11828dc3eb34b839

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&amp;id=b96f0217e408700e4b0ce270d3b0322b5d5a9863

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&amp;id=e5cb267922d146ab1972de7c183982c7cc312e46

Marking as resolved. At this time I think I won&apos;t backport this to dylan unless someone requests it - please do so if you need it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>