<?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>2777</bug_id>
          
          <creation_ts>2012-07-17 06:29:24 +0000</creation_ts>
          <short_desc>grub-mkconfig references wrong location of grub-mkconfig_lib</short_desc>
          <delta_ts>2012-09-04 06:09:43 +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>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jesse Zhang">sen.zhang</reporter>
          <assigned_to name="Jesse Zhang">sen.zhang</assigned_to>
          <cc>laurentiu.serban</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>zhenfeng.zhao</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>23154</commentid>
    <comment_count>0</comment_count>
    <who name="Jesse Zhang">sen.zhang</who>
    <bug_when>2012-07-17 06:29:24 +0000</bug_when>
    <thetext>grub-mkconfig_lib is installed to /usr/share, but grub-mkconfig thinks it&apos;s in /usr/lib.

root@qemux86:~# grub-mkconfig 
/usr/sbin/grub-mkconfig: line 98: /usr/lib/grub/grub-mkconfig_lib: No such file or directory
root@qemux86:~# ls /usr/lib/grub/grub-mkconfig_lib
ls: /usr/lib/grub/grub-mkconfig_lib: No such file or directory
root@qemux86:~# ls /usr/share/grub/grub-mkconfig_lib 
/usr/share/grub/grub-mkconfig_lib
root@qemux86:~# grep grub-mkconfig_lib /usr/sbin/grub-mkconfig 
. ${libdir}/grub/grub-mkconfig_lib

I have a patch ready, will send to oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23156</commentid>
    <comment_count>1</comment_count>
    <who name="Jesse Zhang">sen.zhang</who>
    <bug_when>2012-07-17 07:03:07 +0000</bug_when>
    <thetext>After the error is fixed, it would fail of another one:

# grub-mkconfig 
/usr/sbin/grub-probe: error: cannot stat `/dev/root&apos;.

Which needs another patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23303</commentid>
    <comment_count>2</comment_count>
    <who name="Jesse Zhang">sen.zhang</who>
    <bug_when>2012-07-20 05:56:19 +0000</bug_when>
    <thetext>http://git.openembedded.org/openembedded-core/commit/?id=5b7da937cd298abd6f8f0eecfede2810b157179f

http://git.openembedded.org/openembedded-core/commit/?id=72a582874704838ddd19700bf7c300d7a7faaf9f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24188</commentid>
    <comment_count>3</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-19 10:45:19 +0000</bug_when>
    <thetext>root@qemux86:/# find . -name *grub*
./usr/share/augeas/lenses/dist/tests/test_grub.aug
./usr/share/augeas/lenses/dist/grub.aug

grub is not installed in core-image-lsb-sdk.
So there might be a problem with the recipe.

I reopen this bug.
If there is another explanation for this, please let me know
Thank you,
Laurentiu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24202</commentid>
    <comment_count>4</comment_count>
    <who name="Jesse Zhang">sen.zhang</who>
    <bug_when>2012-08-20 01:37:22 +0000</bug_when>
    <thetext>Hi Laurentiu, that seems a different issue. &quot;grub is not installed in core-image-lsb-sdk&quot; is clearly irrelevant to this bug. Please file new bugs instead of reopening this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24203</commentid>
    <comment_count>5</comment_count>
    <who name="Jesse Zhang">sen.zhang</who>
    <bug_when>2012-08-20 01:39:12 +0000</bug_when>
    <thetext>Btw, I was using qemux86, but I ran it on real hardware and I copied grub to the target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24780</commentid>
    <comment_count>6</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-09-04 06:09:43 +0000</bug_when>
    <thetext>grub version now 2.00,change status to verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>