module-init-tools: make a symlink from /bin/lsmod to /sbin.
--HG-- extra : convert_revision : 40b18343c6715f9c4ea1ab6b9614dea972068dce
This commit is contained in:
parent
a6bc9aea93
commit
c05b8185be
1 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'module-init-tools'
|
# Template file for 'module-init-tools'
|
||||||
pkgname=module-init-tools
|
pkgname=module-init-tools
|
||||||
version=3.11.1
|
version=3.11.1
|
||||||
|
revision=1
|
||||||
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
|
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--enable-zlib --prefix="
|
configure_args="--enable-zlib --prefix="
|
||||||
|
@ -12,5 +13,12 @@ long_desc="
|
||||||
needed by Linux systems for managing loadable Linux Kernel Modules. This
|
needed by Linux systems for managing loadable Linux Kernel Modules. This
|
||||||
includes depmod, insmod, rmmod, modprobe and tools like modinfo."
|
includes depmod, insmod, rmmod, modprobe and tools like modinfo."
|
||||||
|
|
||||||
Add_dependency full glibc
|
Add_dependency run glibc
|
||||||
Add_dependency full zlib
|
Add_dependency run zlib
|
||||||
|
Add_dependency run zlib-devel
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
# Some apps expect /sbin/lsmod, so make a symlink.
|
||||||
|
cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod .
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue