First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 177576
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Devon Miller <devon.miller@verizon.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mkboot.diff patch for /usr/sbin/mkboot patch comio 2007-05-09 17:31 0000 326 bytes Details | Diff
mkboot.diff ops... patch comio 2007-05-09 17:48 0000 652 bytes Details | Diff
mkboot.diff patch for /usr/sbin/mkboot (correct) patch comio 2007-05-09 17:49 0000 326 bytes Details | Diff
grub-0.97-r3.ebuild A grub-0.97-r3.ebuild witch installs the update-grub script text/plain P. Levine 2007-05-15 00:03 0000 4.58 KB Details
update-grub The latest update-grub script text/plain P. Levine 2007-05-15 00:05 0000 32.00 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 177576 depends on: Show dependency tree
Show dependency graph
Bug 177576 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-08 02:13 0000
I discovered this after syncing portage during a brief period when
debianutils-2.18 was not masked.

The kernel's (suspend2-sources) "make install" calls arch/i386/boot/install.sh
to perform the kernel install.

The install.sh in turn calls /usr/sbin/mkboot (from debianutils).

Between 2.17.5 and 2.18 mkboot changed. It now attempts to invoke "update-grub"
to regenerate grub.conf. Unfortunately, debianutils-2.18 does not install
update-grub so this fails. 

Either update-grub needs to be added to debianutils or mkboot needs to be
patched to not attempt to use it,

------- Comment #1 From BedOS_Gui 2007-05-08 10:11:37 0000 -------
confirmed on my system :
localhost linux # make install
sh /usr/src/linux-2.6.21-ck1/arch/x86_64/boot/install.sh 2.6.21-ck1
arch/x86_64/boot/bzImage System.map "/boot"
In order to use the new kernel image you have just installed, you
will need to reboot the machine.  First, however, you will need to
either make a bootable floppy diskette, re-run LILO, or have GRUB
installed.

Checking for ELILO...No
which: no update-grub in (/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/usr/sbin)

Checking for LILO...No

Checking for SILO...No

Checking for PALO...No

Should I make a bootdisk? (y/N) n

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

------- Comment #2 From comio 2007-05-09 17:31:12 0000 -------
Created an attachment (id=118667) [edit]
patch for /usr/sbin/mkboot

apply this patch to /usr/bin/mkboot

------- Comment #3 From comio 2007-05-09 17:48:08 0000 -------
Created an attachment (id=118668) [edit]
ops...

------- Comment #4 From comio 2007-05-09 17:49:13 0000 -------
Created an attachment (id=118670) [edit]
patch for /usr/sbin/mkboot (correct)

------- Comment #5 From Dan A. Dickey 2007-05-11 13:00:17 0000 -------
The patch works for me.

------- Comment #6 From SpanKY 2007-05-13 22:13:21 0000 -------
*** Bug 178390 has been marked as a duplicate of this bug. ***

------- Comment #7 From Nick Devito 2007-05-14 04:41:39 0000 -------
One idea would be to just mask 2.18, since the only change between 2.17.5 and
2.18 is the patch which causes the issue. 

------- Comment #8 From Matthias Schwarzott 2007-05-14 07:48:46 0000 -------
Please apply this small patch,
as else "make install" is unusable.

------- Comment #9 From Roy Marples (RETIRED) 2007-05-14 10:27:47 0000 -------
Now package.masked as vanilla grub does not install update-grub.
I've emailed the debianutils maintainer about this.

------- Comment #10 From P. Levine 2007-05-14 23:21:33 0000 -------
Debian's grub and grub2 package now handle the installation of the update-grub
script, instead of debianutils. I'd suggest that the update-grub script be
added to either debianutil's or grub's files directory in the portage tree and
installed from the ebuild.

------- Comment #11 From P. Levine 2007-05-15 00:03:33 0000 -------
Created an attachment (id=119287) [edit]
A grub-0.97-r3.ebuild witch installs the update-grub script

.. for instance ...

------- Comment #12 From P. Levine 2007-05-15 00:05:07 0000 -------
Created an attachment (id=119288) [edit]
The latest update-grub script

To be put in the files directory.

------- Comment #13 From SpanKY 2007-05-15 15:00:19 0000 -------
masking a package isnt a fix

------- Comment #14 From Roy Marples (RETIRED) 2007-05-16 15:01:39 0000 -------
2.18.1 is

First Last Prev Next    No search results available      Search page      Enter new bug