forked from mirrors/nixpkgs
kmod: Create compat program symlinks
svn path=/nixpkgs/trunk/; revision=33579
This commit is contained in:
parent
4d0fdc5e6b
commit
f3f8040aaf
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue