kmod: move to usr/bin.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'kmod'
|
# Template file for 'kmod'
|
||||||
pkgname=kmod
|
pkgname=kmod
|
||||||
version=20
|
version=20
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-zlib --with-xz"
|
configure_args="--with-zlib --with-xz"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
@@ -21,9 +21,8 @@ checksum=89c1a1a2193c31f9ebe582640bfa2bd401341dc24119f5a7f702588116fadaa0
|
|||||||
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
|
||||||
ln -sfr ${DESTDIR}/usr/bin/kmod ${DESTDIR}/usr/sbin/${tool}
|
ln -sf kmod ${DESTDIR}/usr/bin/${tool}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user