<?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>4997</bug_id>
          
          <creation_ts>2013-08-09 05:55:50 +0000</creation_ts>
          <short_desc>grub 0.97 doesn&apos;t work well</short_desc>
          <delta_ts>2013-08-16 05:38:17 +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>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 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chen Qi">Qi.Chen</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>35525</commentid>
    <comment_count>0</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-08-09 05:55:50 +0000</bug_when>
    <thetext>I tried grub_0.97 with live images. The grub-install command failed with &apos;stage1 not found&apos; error.

A quick look at the Makefile and patches shows that this is caused by the following patch.
meta/recipes-bsp/grub/grub-0.97/grub_fix_for_automake-1.12.patch

The patch above is an effort to fix build with automake, but it has the side effect of stage1 and stage2 not installed.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35526</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-08-09 06:47:15 +0000</bug_when>
    <thetext>After some investigation, I found the real cause.

Although pkglib was replaced by pkgdata to work around this problem, the pkgdatadir was not set up in stage1/Makefile.am and stage2/Makefile.am, thus this error.

Patch will be sent soon to fix this.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35687</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-08-16 05:38:17 +0000</bug_when>
    <thetext>merged into poky/master

Commit: 883b1b396328e6cd67dcb4ca6fd8975b6e716c0a
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=883b1b396328e6cd67dcb4ca6fd8975b6e716c0a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>