kmod fix
This commit is contained in:
1 parent
281f3c382a
commit
78b51d329a
1 file changed
+2
-2
@@ -28,7 +28,7 @@ setup(){
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64/ \
|
||||
--bindir=/bin
|
||||
--bindir=/sbin
|
||||
# remove xsltproc dependency
|
||||
rm -f man/Makefile
|
||||
echo -e "all:\ninstall:" > man/Makefile
|
||||
@@ -42,7 +42,7 @@ package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/usr/bin
|
||||
for tool in {ins,ls,rm,dep}mod mod{probe,info}; do
|
||||
ln -s ../../bin/kmod "${DESTDIR}/usr/bin/$tool"
|
||||
ln -s kmod "${DESTDIR}/sbin/$tool"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user