Bug 260321 - [SOLUTION] grub regression when rebuild it under F7
Summary: [SOLUTION] grub regression when rebuild it under F7
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: grub
Version: 7
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-28 14:34 UTC by Andy Shevchenko
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-28 14:40:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andy Shevchenko 2007-08-28 14:34:39 UTC
Description of problem:
The native F7 grub has regression after rebuild in _native_ (F7) environment.
The graphics module does not compiled due to changes autoreconf --force --
install to just autoconf.

Version-Release number of selected component (if applicable):
Official F7 grub package.

How reproducible:


Steps to Reproduce:
1. Rebuild in F7 environment
2. run next
# dd if=/dev/zero of=/dev/<hdX> bs=446 count=1 (hdX - your boot device's MBR)
# grub
 grub> root (hdX,Y) <- put your root partition and device
 grub> setup (hdX)
# reboot
3. After grub is ran switch to command line and try
 grub> terminal graphics

 
Additional info:
Two things to fix this issue:
1. autoconf -> autoreconf --force --install (grub-*graphics.patch does not 
patch Makefile.in, but Makefile.am)
2. Add to the grub-*graphics.patch following lines (autotools 1.10 
requirements):
--- grub-0.95/configure.ac.graphics    2004-06-18 17:35:52.211011632 -0400
+++ grub-0.95/configure.ac     2004-06-18 17:35:52.498967856 -0400
@@ -56,6 +56,8 @@

 AC_CHECK_TOOL(CC, gcc)
 AC_PROG_CC
+AM_PROG_CC_C_O
+AM_PROG_AS
 # We need this for older versions of Autoconf.
 _AM_DEPENDENCIES(CC)

Comment 1 Andy Shevchenko 2007-08-28 14:40:23 UTC
It is mistake here. The F7 uses grub-0.97-13. I'm trying with 0.97-14.



Note You need to log in before you can comment on or make changes to this bug.