Bug 105705 - mkkerneldoth --kernelver and --output arguments
Summary: mkkerneldoth --kernelver and --output arguments
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-26 18:25 UTC by Matt Domsch
Modified: 2014-03-17 02:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-09-26 19:45:23 UTC
Embargoed:


Attachments (Terms of Use)
mkkerneldoth.patch (1.54 KB, patch)
2003-09-26 18:26 UTC, Matt Domsch
no flags Details | Diff

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.



Note You need to log in before you can comment on or make changes to this bug.