Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38019

Summary: Genkernel overwrites existing kernels
Product: Gentoo Hosted Projects Reporter: Bjorn <sweede>
Component: genkernelAssignee: Brad House <brad>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: drobbins, livewire, x86-kernel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bjorn 2004-01-12 17:40:51 UTC
Genkernels default behaivor overwrites any existing kernels that where created with the same sources. Example: current gs-sources v r2 writes "kernel-2.4.23_pre8-gss" which overwrites a kernel created with gs-sources r1 versions.

It would be ideal for genkernel to create the kernel/initrd names from the info in /usr/src/linux/Makefile , first 4 lines.

this way, if i modify Makefile as shown,
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 23
EXTRAVERSION = _gss-custom

It would create kernel-2.4.23_gss-custom and not overwrite any current kernels



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bjorn 2004-01-12 17:42:46 UTC
Forgot the version, 

sys-kernel/genkernel-1.8
Comment 2 Brad House 2004-01-18 08:13:00 UTC
it does with genkernel 3.x
we're not supporting genkernel < 3