Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67246

Summary: genkernel ebuild should depend on e2fsprogs otherwise making initrd fails
Product: Gentoo Hosted Projects Reporter: Ben XO <gentoo>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben XO 2004-10-12 10:31:03 UTC
When following the installation summary on www.gentoo.org, building the kernel fails with:

/usr/bin/genkernel: line 9: mke2fs: command not found
* ERROR: Could not format initrd-2.6.8-gentoo-r7!

this is because i haven't installed e2fsprogs yet, but surely they should have been installed as a dependency of genkernel's if it requires them? Either that or genkernel should check for mke2fs' availability, or disable initrd's when e2fsprogs is not available, or whatever. Easiest fix would be to make e2fsprogs a dependency of genkernel's.

Reproducible: Always
Steps to Reproduce:
1. Follow gentoo "recommended" installation instructions from scratch ;)
2.
3.
Comment 1 Ben XO 2004-10-12 11:03:21 UTC
ack, looks like the reason it failed is because "emerge system" didnt finish (for some reason)

But it should still be a depend, even an optional one...
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-11-30 11:42:34 UTC
Ok, fixed with genkernel-3.0.2c, it should reach rsync shortly. Please reopen this bug if you have any problems. Thanks!