2005-08-20 23:49:31 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2008-06-14 12:14:36 +02:00
|
|
|
stdenv.mkDerivation ({
|
2005-12-24 00:25:11 +01:00
|
|
|
name = "module-init-tools-3.2.2";
|
2005-08-20 23:49:31 +02:00
|
|
|
src = fetchurl {
|
2007-08-27 15:59:40 +02:00
|
|
|
url = mirror://kernel/linux/utils/kernel/module-init-tools/module-init-tools-3.2.2.tar.bz2;
|
2005-12-24 00:25:11 +01:00
|
|
|
md5 = "a1ad0a09d3231673f70d631f3f5040e9";
|
2005-08-20 23:49:31 +02:00
|
|
|
};
|
2006-07-27 17:06:58 +02:00
|
|
|
patches = [./module-dir.patch];
|
2006-11-03 12:09:06 +01:00
|
|
|
postInstall = "rm $out/sbin/insmod.static"; # don't need it
|
2008-06-14 12:14:36 +02:00
|
|
|
} // (if stdenv ? isDietLibC then {
|
|
|
|
# We don't want bash (and therefore glibc) in the closure of the
|
|
|
|
# output, since we want to put this in a initrd.
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
} else {}))
|