Bug 4997

Summary: grub 0.97 doesn't work well
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chen Qi <Qi.Chen>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: liezhi.yang, mark.hatle, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 1.4   
Target Milestone: 1.5 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chen Qi 2013-08-09 05:55:50 UTC
I tried grub_0.97 with live images. The grub-install command failed with 'stage1 not found' 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
Comment 1 Chen Qi 2013-08-09 06:47:15 UTC
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
Comment 2 Chen Qi 2013-08-16 05:38:17 UTC
merged into poky/master

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