Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Henrik Brix Andersen <brix@g.o>
Subject: kernel-mod.eclass addition + clean up
Date: Fri, 29 Oct 2004 12:55:57 +0200
Hi,

I've written a patch for the kernel-mod.eclass to automatically call
'depmod' in pkg_postinst() for ebuilds enheriting kernel-mod. Ebuilds
that wish to override pkg_postinst() can call kernel-mod_depmod() on
their own.

I've also added a check to kernel-mod_getversion() to ensure that it is
not run more than once, and modified a few functions to use the
${KERNEL_DIR} variable instead of ${ROOT}/usr/src/linux/.

The rest of the changes in the patch are whitespace cleanup. 

Comments are most welcome - if there are no objections I will commit
these changes in a couple of days.

Sincerely,
Brix
-- 
Henrik Brix Andersen <brix@g.o>
Gentoo Linux
Attachment:
kernel-mod_depmod_n_cleanup.patch (Text Data)
Attachment:
signature.asc (This is a digitally signed message part)
Replies:
Re: kernel-mod.eclass addition + clean up
-- Stefan Schweizer
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
eclass for Haskell GHC packages
Next by thread:
Re: kernel-mod.eclass addition + clean up
Previous by date:
eclass for Haskell GHC packages
Next by date:
Re: kernel-mod.eclass addition + clean up


Updated Jun 01, 2011

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.