mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
kmod: update to 6.
This commit is contained in:
parent
adee6d0973
commit
f4455c4319
3 changed files with 3 additions and 25 deletions
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package provides the libkmod runtime shared library."
|
This package provides the libkmod runtime shared library."
|
||||||
|
|
||||||
revision=1
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove "usr/lib/*.so*" usr/lib
|
vmove "usr/lib/*.so*" usr/lib
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
Fixes modprobe --show-depends for some modules i.e ahci
|
|
||||||
from dreisner@archlinux
|
|
||||||
|
|
||||||
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c
|
|
||||||
index 0af3e2e..14a0a3d 100644
|
|
||||||
--- libkmod/libkmod-module.c
|
|
||||||
+++ libkmod/libkmod-module.c
|
|
||||||
@@ -1132,7 +1132,9 @@ KMOD_EXPORT int kmod_module_probe_insert_module(struct kmod_module *mod,
|
|
||||||
if (mod == NULL)
|
|
||||||
return -ENOENT;
|
|
||||||
|
|
||||||
- if (module_is_inkernel(mod)) {
|
|
||||||
+ /* ignore module state if this is only for a dry run */
|
|
||||||
+ if (!(flags & KMOD_PROBE_DRY_RUN) && print_action == NULL &&
|
|
||||||
+ module_is_inkernel(mod)) {
|
|
||||||
if (flags & KMOD_PROBE_FAIL_ON_LOADED)
|
|
||||||
return -EEXIST;
|
|
||||||
else
|
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
# Template file for 'kmod'
|
# Template file for 'kmod'
|
||||||
pkgname=kmod
|
pkgname=kmod
|
||||||
version=5
|
version=6
|
||||||
revision=1
|
|
||||||
homepage="http://git.profusion.mobi/cgit.cgi/kmod.git"
|
homepage="http://git.profusion.mobi/cgit.cgi/kmod.git"
|
||||||
distfiles="http://packages.profusion.mobi//$pkgname/$pkgname-$version.tar.xz"
|
distfiles="${KERNEL_SITE}/utils/kernel/kmod/kmod-6.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-rootprefix= --with-zlib --with-xz"
|
configure_args="--with-rootprefix= --with-zlib --with-xz"
|
||||||
short_desc="Linux kernel module handling"
|
short_desc="Linux kernel module handling"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
checksum=2cb014f9f95575f1bc4b1f9babb6199a9b8c37fb1b38dc4340a2bcf230e66086
|
checksum=6f1142519916d2dbe780693045a1b2d52d0b2212ec1bd23dd5a03134c3ba62b7
|
||||||
long_desc="
|
long_desc="
|
||||||
kmod is a set of tools to handle common tasks with Linux kernel modules like
|
kmod is a set of tools to handle common tasks with Linux kernel modules like
|
||||||
insert, remove, list, check properties, resolve dependencies and aliases.
|
insert, remove, list, check properties, resolve dependencies and aliases.
|
||||||
|
|
Loading…
Add table
Reference in a new issue