<?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>4867</bug_id>
          
          <creation_ts>2013-07-18 15:58:00 +0000</creation_ts>
          <short_desc>pkg_postinst_kernel-image calls depmod but there is no RDEPENDS on module-init-tools-depmod</short_desc>
          <delta_ts>2013-09-18 15:24:15 +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>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 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Holger Freyther">holger</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34675</commentid>
    <comment_count>0</comment_count>
    <who name="Holger Freyther">holger</who>
    <bug_when>2013-07-18 15:58:00 +0000</bug_when>
    <thetext>I ended up with an image without having depmod. The upgrade with opkg upgrade then prints a lot of errors like this. This is not with a Yocto kernel but the one used for my kernel and I am using the kernel.bbclass.



Configuring kernel-image-3.4.53-g6db11b6-dirty.
//var/lib/opkg/info/kernel-image-3.4.53-g6db11b6-dirty.postinst: line 7: depmod: command not found
Configuring kernel-module-dspdl.
//var/lib/opkg/info/kernel-module-dspdl.postinst: line 3: depmod: command not found
Configuring kernel-module-dspdl-dm644x.
//var/lib/opkg/info/kernel-module-dspdl-dm644x.postinst: line 3: depmod: command not found
Configuring kernel-module-fpgadl.
/bin/sh: error while loading shared libraries: /lib/libdl.so.2: file too short
Configuring kernel-module-nls-utf8.
//var/lib/opkg/info/kernel-module-nls-utf8.postinst: line 3: depmod: command not found
Configuring kernel-module-nls-ascii.
//var/lib/opkg/info/kernel-module-nls-ascii.postinst: line 3: depmod: command not found
Collected errors:
 * pkg_run_script: package &quot;kernel-image-3.4.53-g6db11b6-dirty&quot; postinst script returned status 127.
 * opkg_configure: kernel-image-3.4.53-g6db11b6-dirty.postinst returned 127.
 * pkg_run_script: package &quot;kernel-module-dspdl&quot; postinst script returned status 127.
 * opkg_configure: kernel-module-dspdl.postinst returned 127.
 * pkg_run_script: package &quot;kernel-module-fpgadl&quot; postinst script returned status 127.
 * opkg_configure: kernel-module-fpgadl.postinst returned 127.
 * pkg_run_script: package &quot;kernel-module-nls-utf8&quot; postinst script returned status 127.
 * opkg_configure: kernel-module-nls-utf8.postinst returned 127.
 * pkg_run_script: package &quot;kernel-module-nls-ascii&quot; postinst script returned status 127.
 * opkg_configure: kernel-module-nls-ascii.postinst returned 127.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34678</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-07-18 16:35:14 +0000</bug_when>
    <thetext>What is the bug you are reporting? If you can&apos;t have kmod in your image then you shouldn&apos;t be building modules...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34899</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-07-25 14:35:37 +0000</bug_when>
    <thetext>I think what Holger is saying is not that he can&apos;t have kmod but that it wasn&apos;t brought in by anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36888</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-09-18 15:24:15 +0000</bug_when>
    <thetext>ed3ef08 qemumips: fix keyboard entry in graphical boots</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>