3
0
Fork 0
forked from mirrors/nixpkgs

kmod: Create compat program symlinks

svn path=/nixpkgs/trunk/; revision=33579
This commit is contained in:
Shea Levy 2012-04-04 19:28:33 +00:00
parent 4d0fdc5e6b
commit f3f8040aaf

View file

@ -14,6 +14,13 @@ stdenv.mkDerivation {
patches = [ ./module-dir.patch ];
postInstall = ''
for prog in lsmod rmmod insmod modinfo modprobe depmod
do
ln -sv kmod $out/bin/$prog
done
'';
meta = {
homepage = http://www.kernel.org/pub/linux/utils/kernel/kmod/;
description = "Tools for loading and managing Linux kernel modules";