Bug 105705

Summary: mkkerneldoth --kernelver and --output arguments
Product: [Retired] Red Hat Raw Hide Reporter: Matt Domsch <matt_domsch>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-26 19:45:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
mkkerneldoth.patch none

Description Matt Domsch 2003-09-26 18:25:57 UTC
Description of problem:
mkkerneldoth only works using `uname -r`, and only outputs its result to
/boot/kernel.h.  DKMS would like to be able to use this great mechanism, but not
rely on `uname -r` but pass it in instead, and not write to /boot/kernel.h but
to a file in the DKMS build tree which gets picked up instead.  This is so we
can avoid the need to do a make dep on the kernel tree and ruin the good work
you've gone to.  Also saves many minutes per kernel object you want built as you
don't have to make dep any more.

Patch to mkkerneldoth to accept two new arguments attached.
Applies against that in initscripts-7.28-1.

Comment 1 Matt Domsch 2003-09-26 18:26:33 UTC
Created attachment 94763 [details]
mkkerneldoth.patch

Comment 2 Bill Nottingham 2003-09-26 19:02:06 UTC
Actually...

Long term the plan is for mkkerneldoth to go away, and just have the headers be
in a /lib/modules/`uname -r`/build *directory* for each kernel, I believe.

Comment 3 Matt Domsch 2003-09-26 19:04:16 UTC
OK, that's fine.  Can you apply the patch until such a time?

Comment 4 Arjan van de Ven 2003-09-26 19:16:54 UTC
mkkerneldoth is severly no it's way out.
severn/cambridge/whateveritisnamedthisweek is the very very last release with
this ugly hack in.

Comment 5 Matt Domsch 2003-09-26 19:45:23 UTC
OK, DKMS can carry around its own copy for use on older OS releases, and we'll
need to figure out how to decide it isn't needed anymore - perhaps by the
absence of /boot/kernel.h.  I figured I'd ask upstream first.  Closing.