<?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>3962</bug_id>
          
          <creation_ts>2013-02-28 17:53:12 +0000</creation_ts>
          <short_desc>Kernel module packages have a hard coded path to STAGING_KERNEL_DIR in the package install scripts</short_desc>
          <delta_ts>2013-03-02 16:36:18 +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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>Martin.Jansa</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>30271</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-02-28 17:53:12 +0000</bug_when>
    <thetext>The kernel module packages (from kernel.bbclass and modules.bbclass) are getting package post install (and remove) scripts that contain a hard coded reference to STAGING_KERNEL_DIR.

This causes depmod failures when installing from an sstate-cache (or package feed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30339</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-03-01 17:54:53 +0000</bug_when>
    <thetext>Change has been merged into oe-core:

b18c61bae4d7161c087a004bba3c696006f7a2f6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30355</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2013-03-02 16:05:14 +0000</bug_when>
    <thetext>This doesn&apos;t work correctly with multiple machines with same architecture:

../sstate-cache/76/sstate-depmodwrapper-cross-cortexa8-vfp-neon-oe-linux-gnueabi-1.0-r0-cortexa8-vfp-neon-3-76f6af3dfee642561bca7b346ed63612_populate-sysroot.tgz
../sstate-cache/76/sstate-depmodwrapper-cross-cortexa8-vfp-neon-oe-linux-gnueabi-1.0-r0-cortexa8-vfp-neon-3-76f6af3dfee642561bca7b346ed63612_populate-sysroot.tgz.siginfo
../sstate-cache/7c/sstate-depmodwrapper-cross-cortexa8-vfp-neon-oe-linux-gnueabi-1.0-r0-cortexa8-vfp-neon-3-7c0a55714df15cf765dd32b67e2c3fbb_populate-sysroot.tgz
../sstate-cache/7c/sstate-depmodwrapper-cross-cortexa8-vfp-neon-oe-linux-gnueabi-1.0-r0-cortexa8-vfp-neon-3-7c0a55714df15cf765dd32b67e2c3fbb_populate-sysroot.tgz.siginfo

It&apos;s looking into wrong STAGING_KERNEL_DIR, finds wrong kernel-abiversion and fails.

It needs to be MACHINE_ARCH, because STAGING_KERNEL_DIR is MACHINE specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30357</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-02 16:36:18 +0000</bug_when>
    <thetext>Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f730a3a037ba03234358838ca7712b5ea195bca5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>