Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286929 - handbook suggest copying file to inexistant location
Summary: handbook suggest copying file to inexistant location
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
: 287532 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-29 14:40 UTC by John Christian Stoddart (RETIRED)
Modified: 2009-11-30 08:56 UTC (History)
4 users (show)

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


Attachments
Patch to modify directory location (hb-install-x86+amd64-kernel.xml.patch,687 bytes, patch)
2009-09-29 14:43 UTC, John Christian Stoddart (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Christian Stoddart (RETIRED) gentoo-dev 2009-09-29 14:40:15 UTC
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
Comment 1 John Christian Stoddart (RETIRED) gentoo-dev 2009-09-29 14:43:45 UTC
Created attachment 205589 [details, diff]
Patch to modify directory location
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2009-09-29 16:02:56 UTC
handbook-x86.xml
/usr/share/genkernel/arch/x86_64/kernel-config-2.6

Does that match? Is the destination arch-agnostic?
Comment 3 John Christian Stoddart (RETIRED) gentoo-dev 2009-09-29 16:42:59 UTC
(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.
Comment 4 Xavier Neys (RETIRED) gentoo-dev 2009-09-29 17:15:57 UTC
(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?

Comment 5 John Christian Stoddart (RETIRED) gentoo-dev 2009-09-29 19:01:47 UTC
(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.

Comment 6 John Christian Stoddart (RETIRED) gentoo-dev 2009-09-29 21:10:17 UTC
> 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.

Comment 7 Xavier Neys (RETIRED) gentoo-dev 2009-09-30 16:00:40 UTC
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 &gt; /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?
Comment 8 Xavier Neys (RETIRED) gentoo-dev 2009-10-03 17:06:08 UTC
*** Bug 287532 has been marked as a duplicate of this bug. ***
Comment 9 nm (RETIRED) gentoo-dev 2009-11-30 08:51:38 UTC
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.
Comment 10 nm (RETIRED) gentoo-dev 2009-11-30 08:56:04 UTC
Fixed in CVS. Added a new conditional <body> element for AMD64's genkernel location.