2005-08-20 14:49:31 -07:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2008-06-14 03:14:36 -07:00
|
|
|
stdenv.mkDerivation ({
|
2005-12-23 15:25:11 -08:00
|
|
|
name = "module-init-tools-3.2.2";
|
2005-08-20 14:49:31 -07:00
|
|
|
src = fetchurl {
|
2007-08-27 06:59:40 -07:00
|
|
|
url = mirror://kernel/linux/utils/kernel/module-init-tools/module-init-tools-3.2.2.tar.bz2;
|
2005-12-23 15:25:11 -08:00
|
|
|
md5 = "a1ad0a09d3231673f70d631f3f5040e9";
|
2005-08-20 14:49:31 -07:00
|
|
|
};
|
2006-07-27 08:06:58 -07:00
|
|
|
patches = [./module-dir.patch];
|
2006-11-03 03:09:06 -08:00
|
|
|
postInstall = "rm $out/sbin/insmod.static"; # don't need it
|
2008-06-14 03:14:36 -07: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 {}))
|