kmod: move to usr/bin.
This commit is contained in:
parent
2fd92d3047
commit
4a6eb4863a
@ -1,7 +1,7 @@
|
||||
# Template file for 'kmod'
|
||||
pkgname=kmod
|
||||
version=20
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-zlib --with-xz"
|
||||
hostmakedepends="pkg-config"
|
||||
@ -21,9 +21,8 @@ checksum=89c1a1a2193c31f9ebe582640bfa2bd401341dc24119f5a7f702588116fadaa0
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/depmod-search.conf 644 usr/lib/depmod.d search.conf
|
||||
# Add compatibility symlinks.
|
||||
vmkdir usr/sbin
|
||||
for tool in {ls,ins,rm,dep}mod mod{info,probe}; do
|
||||
ln -sfr ${DESTDIR}/usr/bin/kmod ${DESTDIR}/usr/sbin/${tool}
|
||||
ln -sf kmod ${DESTDIR}/usr/bin/${tool}
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user