User Gustavo Delfino has found that Listing 4.2 suggests: # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6 this location does not exist, it should be: # zcat /proc/config.gz > /usr/share/genkernel/arch/x86_64/kernel-config-2.6 Reproducible: Always
Created attachment 205589 [details, diff] Patch to modify directory location
handbook-x86.xml /usr/share/genkernel/arch/x86_64/kernel-config-2.6 Does that match? Is the destination arch-agnostic?
(In reply to comment #2) > handbook-x86.xml > /usr/share/genkernel/arch/x86_64/kernel-config-2.6 > > Does that match? Is the destination arch-agnostic? There are various platforms under /usr/share/genkernel/arch/, however this is the x86_64 handbook.
(In reply to comment #3) > (In reply to comment #2) > > handbook-x86.xml > > /usr/share/genkernel/arch/x86_64/kernel-config-2.6 > > > > Does that match? Is the destination arch-agnostic? > > There are various platforms under /usr/share/genkernel/arch/, however this is > the x86_64 handbook. The link you gave is for the x86 handbook. The patch you sent is for both x86 and x86_64 handbooks. Did you fix it fox x86_64 and break it for x86, or is the destination x86_64 valid for both arches?
(In reply to comment #4) > The link you gave is for the x86 handbook. > The patch you sent is for both x86 and x86_64 handbooks. > Did you fix it fox x86_64 and break it for x86, or is the destination x86_64 > valid for both arches? My understanding is that x86_64 covers both arches.
> My understanding is that x86_64 covers both arches. Shiver me timbers, please strike that last comment off the Internet ;-P I'm sorry for not being familiar with genkernel. There is a /usr/share/genkernel/arch/x86 directory and a /usr/share/genkernel/arch/x86_64, one for each arch, to each his own. Since our handbook covers both arches, perhaps someone could write up a short note.
This text only appears in the x86 handbook, not in the amd64 one. <p> Next, copy over the kernel configuration used by the Installation CD to the location where genkernel looks for the default kernel configuration: </p> <pre caption="Copying over the Installation CD kernel config"> # <i>zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6</i> </pre> I don't know why. Genkernel guys, can't this work on amd64 with x86_64 as destination dir? Maybe it was a request from the AMD64 team. CC'ing both for comment. Simply put, can # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6 and # zcat /proc/config.gz > /usr/share/genkernel/x86_64/kernel-config-2.6 work respectively for x86 and amd64?
*** Bug 287532 has been marked as a duplicate of this bug. ***
I just installed genkernel on my AMD64 box. It is indeed /usr/share/genkernel/arch/x86_64 (and arch/x86/), so I'll handle this.
Fixed in CVS. Added a new conditional <body> element for AMD64's genkernel location.