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
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).
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,
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.