kmod: create compat symlinks in /usr/bin.
This commit is contained in:
parent
6528079c17
commit
ead80e7a87
1 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kmod'
|
# Template file for 'kmod'
|
||||||
pkgname=kmod
|
pkgname=kmod
|
||||||
version=16
|
version=16
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-zlib --with-xz"
|
configure_args="--with-zlib --with-xz"
|
||||||
hostmakedepends="pkg-config libxslt"
|
hostmakedepends="pkg-config libxslt"
|
||||||
|
@ -28,10 +28,8 @@ fi
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/depmod-search.conf 644 usr/lib/depmod.d search.conf
|
vinstall ${FILESDIR}/depmod-search.conf 644 usr/lib/depmod.d search.conf
|
||||||
# Add compatibility symlinks.
|
# Add compatibility symlinks.
|
||||||
vmkdir usr/sbin
|
|
||||||
for tool in {ls,ins,rm,dep}mod mod{info,probe}; do
|
for tool in {ls,ins,rm,dep}mod mod{info,probe}; do
|
||||||
cd ${DESTDIR}/usr/sbin
|
ln -sfr ${DESTDIR}/usr/bin/kmod ${DESTDIR}/usr/bin/${tool}
|
||||||
ln -sf ../bin/kmod $tool
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue