All of lore.kernel.org
 help / color / mirror / Atom feed
* [announce] dkms - enhancements for 2.5 + UnitedLinux initrd suppo rt
@ 2003-07-03 16:16 Gary_Lerhaupt
  2003-07-17 10:07 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Gary_Lerhaupt @ 2003-07-03 16:16 UTC (permalink / raw)
  To: linux-kernel

Following the handy pointers at
http://marc.theaimsgroup.com/?l=linux-ia64&m=105676403229397&w=2, dkms now
uses 2.5's makefile goodies.  Specifically, if it detects a kernel > 2.4, it
ignores any MAKE commands in the dkms.conf for your module and instead uses
`make -C $kernel_source_dir SUBDIRS=$build_dir modules`.  It also doesn't do
a make dep during the kernel prep (though for SuSE, I left the make
CONFIG_MODVERSION=1 dep for 2.5 since I didn't know whether it will be
needed).

I also added support for modifying SuSE/UnitedLinux initrds.  While this
already exists for RH type things, the mkinitrd stuff seems to vary per
distro.  For UL, if REMAKE_INITRD is set in the dkms.conf, during the `add`
it modifies /etc/sysconfig/kernel and puts a reference in INITRD_MODULES and
during the final remove it removes it from this list.  Then, as modules are
installed, it calls the generic mk_initrd command which remakes all the
initrds it seems to know about.  While this might return exit status 9 if
some kernels don't have this module, this process seems the best and
simplest way to go about automating the initrd process for UL.  Comments
always welcome (btw, we have a shiny new dkms-devel@lists.us.dell.com
mailing list for anyone interested).

Gary Lerhaupt
Linux Development
Dell Computer Corporation


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [announce] dkms - enhancements for 2.5 + UnitedLinux initrd suppo rt
  2003-07-03 16:16 [announce] dkms - enhancements for 2.5 + UnitedLinux initrd suppo rt Gary_Lerhaupt
@ 2003-07-17 10:07 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2003-07-17 10:07 UTC (permalink / raw)
  To: Gary_Lerhaupt; +Cc: linux-kernel

On Thu, Jul 03, 2003 at 11:16:26AM -0500, Gary_Lerhaupt@Dell.com wrote:

URL where I can find the latest dkms?
 
> (btw, we have a shiny new dkms-devel@lists.us.dell.com
> mailing list for anyone interested).
How do I subscribe - majordomo?

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-17  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-03 16:16 [announce] dkms - enhancements for 2.5 + UnitedLinux initrd suppo rt Gary_Lerhaupt
2003-07-17 10:07 ` Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.