When trying to compile the xen-sources with genkernel it dies shortly after menuconfig! Reproducible: Always Steps to Reproduce: 1. emerge xen-sources (and tools) 2. genkernel --menuconfig all 3. save you kernel config and exit menuconfig It would be really great if genkernel could detect that we are compiling xen-sources and to it in such a way that it works :-)
Can you be more specific? Perhaps attach a dump of the compile output?
Created attachment 171332 [details] output from console
Created attachment 171334 [details] /var/log/genkerne.log
and here's what xen packages I have installed: # equery list xen [ Searching for package 'xen' in all categories among: ] * installed packages [I--] [ ~] app-emulation/xen-3.3.0 (0) [I--] [ ~] app-emulation/xen-tools-3.3.0 (0) [I--] [ ~] sys-kernel/xen-sources-2.6.21 (2.6.21) Let me know if I can be of any more help :-)
Hrm, I'm sure i've seen and solved this before, but i've just run into the exact same problem. I believe that with xen-sources you need to 'make vmlinuz' rather than 'make bzImage', which is what genkernel does by default. I'm sure I used to just hack the following two lines into genkernel.conf: KERNEL_MAKE_DIRECTIVE="vmlinuz" KERNEL_BINARY="arch/i386/boot/vmlinuz" But I just tried it and it either never worked like that and i'm forgetting (which is definitely possible!), or it's changed somehow in more recent genkernel's. As I need to build the kernel right now, i've just hacked the above two lines into /usr/share/genkernel/x86/config.sh But i'm sure there must be a proper way to do this?
(In reply to comment #5) [...] > I'm sure I used to just hack the following two lines into genkernel.conf: > KERNEL_MAKE_DIRECTIVE="vmlinuz" > KERNEL_BINARY="arch/i386/boot/vmlinuz" > [...] > As I need to build the kernel right now, i've just hacked the above two lines > into /usr/share/genkernel/x86/config.sh Gary, thanks -- your workaround worked fine for me, too! It would, however, indeed be nice to have a proper way for doing this.
Isn't this a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=120236 ?
(In reply to comment #7) > Isn't this a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=120236 ? Nope ;-) ...that is a bug report where as this is a feature request :-) From what I can tell its not that hard to incorporate the required code into Genkernel to get this to work. Xen is now really popular and I'm sure like most we'd prefer to run a Xen server as a Gentoo system rather than a RedHat one! ;-) It's the last reason I have for ditching alternative distributions and becoming 100% Gentoo at work :-) C'mon Gentoo!! :-)
The latest xen-sources is pretty old. We ripped the code out of genkernel long ago, because it didn't work anymore, anyway.