Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273354 - Copying the Installation CD kernel configuration for genkernel has a wrong path listed
Summary: Copying the Installation CD kernel configuration for genkernel has a wrong pa...
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:
: 275045 280625 (view as bug list)
Depends on:
Blocks: 260403
  Show dependency tree
 
Reported: 2009-06-09 13:43 UTC by Mark Straver
Modified: 2009-11-30 19:01 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Straver 2009-06-09 13:43:31 UTC
Code Listing 4.2: Copying over the Installation CD kernel config

# zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6


genkernel uses a different location:
/usr/share/genkernel/arch/x86/kernel-config

the code listed in the handbook gives an error (and would obviously break the build/kernel installation)

Reproducible: Always

Steps to Reproduce:
1. Install using the handbook, choosing to use genkernel to build the gentoo kernel
2. use "Code Listing 4.2: Copying over the Installation CD kernel config"
3.

Actual Results:  
Error: no such file or directory

Expected Results:  
proper copy of the data to the appropriate file

The code listing shouls state the proper path.
For x86:
/usr/share/genkernel/arch/x86/kernel-config
Comment 1 nm (RETIRED) gentoo-dev 2009-06-14 09:26:39 UTC
I suspect this applies only to the weekly autobuild CDs, in which case we can't update the handbook until we're ready to do the changeover. Marking this as a blocker, in the mean time.

Mark, can you confirm you're using a weekly installation CD? Or are you using one of the older 2008.0 CDs?
Comment 2 Mark Straver 2009-06-14 14:25:23 UTC
I've indeed been using the weekly builds, the 20090526 one, to be exact (as the 0602 one failed to install in VMWare), since the handbook also indicated the 2008.0 builds were depreciated for use. I assumed the handbook would be up to date for the current builds for something as crucial as this because of that mention, but apparently they are for the depreciated 2008.0 builds? A little confusing, there.

In any case, it should definitely be included in the handbook for the next official release, as the current weekly builds obviously don't install with the instructions given.
Comment 3 Daniel Pielmeier gentoo-dev 2009-06-27 12:44:29 UTC
*** Bug 275045 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Stegmaier 2009-07-23 14:45:31 UTC
Code-Listing 4.2 reads:

# zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6

It should (probably?) read:

# zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config
Comment 5 Marc Richter 2009-07-23 17:07:20 UTC
(In reply to comment #1)
> I suspect this applies only to the weekly autobuild CDs, in which case we can't
> update the handbook until we're ready to do the changeover. Marking this as a
> blocker, in the mean time.
> 
> Mark, can you confirm you're using a weekly installation CD? Or are you using
> one of the older 2008.0 CDs?
> 

That doesn't have to do anything with the daily build - CDs, as I was using the minimal CD. This means, that the code came out of the web. This so seems to issue genkernel, and the path used here seems to have changed in the current genkernel package.
Comment 6 Mark Straver 2009-07-23 17:21:24 UTC
(In reply to comment #5)
> That doesn't have to do anything with the daily build - CDs, as I was using the
> minimal CD. This means, that the code came out of the web. This so seems to
> issue genkernel, and the path used here seems to have changed in the current
> genkernel package.
If you grabbed a stage 3 from a weekly build, from the web, you'd probably also run into this issue, then, even with a 2008.0 CD... Yes it does seem to tie into changes of the genkernel package, I guess the handbook should be updated to reflect this asap, then, or at least make a mention?

Comment 7 nm (RETIRED) gentoo-dev 2009-08-07 07:25:59 UTC
*** Bug 280625 has been marked as a duplicate of this bug. ***
Comment 8 nm (RETIRED) gentoo-dev 2009-11-30 08:59:25 UTC
Fixed in CVS.
Comment 9 John Christian Stoddart (RETIRED) gentoo-dev 2009-11-30 13:26:05 UTC
Josh, you could place the conditional *after* the kernel copying paragraph (line 379) to avoid duplication, after all, only the following <pre path is what changes, right? ;-)

Thanks!
Comment 10 nm (RETIRED) gentoo-dev 2009-11-30 19:01:02 UTC
(In reply to comment #9)
> Josh, you could place the conditional *after* the kernel copying paragraph
> (line 379) to avoid duplication, after all, only the following <pre path is
> what changes, right? ;-)

Good suggestion; fixed in CVS.