2011-10-02 04:03:02 +00:00
|
|
|
{stdenv, fetchurl, docbook2x}:
|
2005-08-20 21:49:31 +00:00
|
|
|
|
2011-10-02 04:03:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "module-init-tools-3.16";
|
2008-08-11 11:31:57 +00:00
|
|
|
|
2011-10-02 04:03:02 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/utils/kernel/module-init-tools/${name}.tar.bz2";
|
|
|
|
sha256 = "0jxnz9ahfic79rp93l5wxcbgh4pkv85mwnjlbv1gz3jawv5cvwp1";
|
|
|
|
};
|
2008-08-11 11:31:57 +00:00
|
|
|
|
2011-10-02 04:03:02 +00:00
|
|
|
buildInputs = [ docbook2x ];
|
2008-08-11 11:31:57 +00:00
|
|
|
|
2011-10-02 04:03:02 +00:00
|
|
|
patches = [ ./module-dir.patch ./docbook2man.patch ];
|
2008-08-11 11:31:57 +00:00
|
|
|
|
2006-11-03 11:09:06 +00:00
|
|
|
postInstall = "rm $out/sbin/insmod.static"; # don't need it
|
2008-08-11 11:31:57 +00:00
|
|
|
|
2008-06-14 10:14:36 +00:00
|
|
|
# We don't want bash (and therefore glibc) in the closure of the
|
|
|
|
# output, since we want to put this in a initrd.
|
2008-08-11 11:31:57 +00:00
|
|
|
dontPatchShebangs = stdenv ? isDietLibC;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/;
|
|
|
|
description = "Tools for loading and managing Linux kernel modules";
|
|
|
|
};
|
|
|
|
}
|