Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39128 - genkernel 3.0.1_beta6 not saving configuration made by --menuconfig
Summary: genkernel 3.0.1_beta6 not saving configuration made by --menuconfig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Brad House
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 00:40 UTC by jofre5
Modified: 2004-01-28 19:01 UTC (History)
2 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 jofre5 2004-01-23 00:40:34 UTC
When I try to build my kernel with --menuconfig, all settings are processed, but when I try to do next compilation with --menuconfig, my modified configuration is lost - i.e. genkernel is not saving changes i made and replaces configuration with default from /usr/share/genkernel/x86/ directory

Reproducible: Always
Steps to Reproduce:
1.gengernel --menuconfig --install --bootsplash all
2.add for exaple some filesystem support that wasn't there, let system compile kernel
3.genkernel --menuconfig --install --bootsplash all

Actual Results:  
checking modifications I made in step 2 was all lost, there was a default 
setting

Expected Results:  
after executing 'make --menuconfig' in kernel source directory file .config 
should be copied back to location provided by user (or to default location if 
user did not provide any file)

this is diff of gen_configkernel.sh you can find in /usr/share/genkernel 
directory i made to make my genkernel do the job (remember version 3.0.1_beta6 
i'm using)
---<<cut--------------------------------------------------------
47a48,49
>                       # copy current configuration to KERNEL_CONFIG file
>                       cp "${KERNEL_DIR}/.config" "${KERNEL_CONFIG}" || 
gen_die "could not copy new config file to ${KERNEL_CONFIG}"
---<<cut--------------------------------------------------------
or after letting genkernel build your kernel copy .config file from your kernel 
to some backup space
Comment 1 André Brioso 2004-01-23 02:41:19 UTC
I have the same problem here..

However, after the kernel compilation, I do the following:

# cp /usr/src/linux/.config /usr/share/genkernel/x86/kernel-config-2.4

This is just a workaround, and the problem should be fixed on newer versions of genkernel (I'll check the CVS later to see if it's easy to implement this).


Comment 2 André Brioso 2004-01-23 02:54:06 UTC
Brad House: 

Where can I see the CVS repository of genkernel?

http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-kernel/genkernel/ gives me only the ebuils.

Best Regards,

Comment 3 André Brioso 2004-01-23 02:54:53 UTC
Brad House: 

Where can I see the CVS repository of genkernel?

http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-kernel/genkernel/ gives me only the ebuils.

Best Regards,

Comment 4 Brad House 2004-01-28 19:01:03 UTC
web cvs view is here :
http://www.gentoo.org/cgi-bin/viewcvs.cgi/src/genkernel_bradmssw/?cvsroot=gentoo

also, this is fixed in _beta8
it will save your kernel to /etc/kernels/kernel-config-${ARCH}-${KV}
and auto-look there for future runs.