Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58219 - mkboot fails when grub-static is installed rather than grub
Summary: mkboot fails when grub-static is installed rather than grub
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-24 12:50 UTC by Michael Harnois
Modified: 2004-10-05 17:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Harnois 2004-07-24 12:50:48 UTC
mkboot is hard-coded to look for lilo or grub and does not recognize grub-static.

Reproducible: Always
Steps to Reproduce:
1.cd /usr/src/linux
2.make
3.make install

Actual Results:  
WARNING: Your system is probably unbootable now.  After correcting any
problems, rerun this script with the command `mkboot -installkernel'.
make[1]: *** [install] Error 1
make: *** [install] Error 2


Expected Results:  
installed the kernel

--- mkboot.orig 2004-07-15 17:03:00.000000000 -0500
+++ mkboot      2004-07-24 14:49:36.509714584 -0500
@@ -17,7 +17,8 @@
     # Right way in Gentoo to check, but grub is in system profile,
     # so rather check for lilo first....
     if [ -x /usr/bin/portageq ] ; then
-        portageq has_version / "sys-boot/grub" && return 0 || return 1
+       portageq has_version / "sys-boot/grub-static" ||
+       portageq has_version / "sys-boot/grub" && return 0 || return 1
     else
         return 1
     fi
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-09-02 09:49:09 UTC
mkboot is in debianutils ..
Comment 2 SpanKY gentoo-dev 2004-10-05 17:00:03 UTC
fixed in cvs