diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-11-18 08:15:42 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-11-18 08:15:42 +0100 |
commit | 14268dd62ed9067b687543d586d82501aa3e6fb7 (patch) | |
tree | f9cc093b389fb724a1bb715f5bba8a341dca12d9 | |
parent | ab37682708b57c664acdf7b9122773bc71d25bde (diff) |
The "extra" subdirectory for kernel modules may have a full subtree
Jesper Dangaard Brouer reported that on Red Hat Enterprise Linux
Server release 6.5 the extra subdirectory contains the full subtree
path
/lib/modules/*/extra/netfilter/ipset/
and not
/lib/modules/*/extra/ipset/
Check only "/extra/" in the path.
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 0032ddc..290df8f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,7 +61,7 @@ modules_install: if WITH_KMOD ${MAKE} -C $(KBUILD_OUTPUT) M=$$PWD/kernel/net \ KDIR=$$PWD/kernel modules_install - @modinfo ip_set_hash_ip | ${GREP} extra/ipset/ip_set_hash_ip >/dev/null || echo "$$DEPMOD_WARNING" + @modinfo ip_set_hash_ip | ${GREP} /extra/ >/dev/null || echo "$$DEPMOD_WARNING" else @echo Skipping kernel modules due to --with-kmod=no endif |