Bug 4997 - grub 0.97 doesn't work well
Summary: grub 0.97 doesn't work well
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M4
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-09 05:55 UTC by Chen Qi
Modified: 2013-08-16 05:38 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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