mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
kmod: add back compat symlinks to /usr/sbin; there are some issues.
This commit is contained in:
parent
8e32c2c60c
commit
e39ace289e
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kmod'
|
# Template file for 'kmod'
|
||||||
pkgname=kmod
|
pkgname=kmod
|
||||||
version=16
|
version=16
|
||||||
revision=3
|
revision=4
|
||||||
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,8 +28,9 @@ 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
|
||||||
ln -sfr ${DESTDIR}/usr/bin/kmod ${DESTDIR}/usr/bin/${tool}
|
ln -sfr ${DESTDIR}/usr/bin/kmod ${DESTDIR}/usr/sbin/${tool}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue