This patch series implements several new features for modprobe and depmod. modprobe gains a 'moduledir' config option, which can be used to override the default path /lib/modules. depmod gains the ability to maintain dependency information for several independent kernel module trees, with a separate config file for each. Automated tests are included. The new features are documented in the respective manpages. These features will be useful in simplifying the installation and packaging of Ksplice Uptrack. They may also be of more general interest. Feel free to contact me if you have any questions about this patch series. Keegan McAllister (14): modprobe: defer the use of MODULE_DIR modprobe: add 'moduledir' config option modprobe: ignore broken symlink config files tests: test new modprobe features depmod: move code using MODULE_DIR out of main() depmod: clear the symbol hash for each module tree depmod: process a list of config_alternatives depmod: factor out reading a config dir depmod: read config alternatives from a directory depmod: store module_dir without trailing slash tests: test depmod 'alternatives' feature doc: fix the description of modprobe -d doc: document new modprobe features doc: document the depmod 'alternatives' feature Makefile.am | 2 +- depmod.c | 441 +++++++++++++++++++--------- doc/depmod.alternatives.sgml | 120 ++++++++ doc/depmod.sgml | 3 + doc/modprobe.conf.sgml | 26 ++ doc/modprobe.sgml | 14 +- modprobe.c | 29 ++- tests/test-depmod/17alternatives.sh | 70 +++++ tests/test-depmod/18alternatives-syntax.sh | 72 +++++ tests/test-modprobe/29moduledir.sh | 34 +++ tests/test-modprobe/30brokenlink.sh | 25 ++ 11 files changed, 687 insertions(+), 149 deletions(-) create mode 100644 doc/depmod.alternatives.sgml create mode 100755 tests/test-depmod/17alternatives.sh create mode 100755 tests/test-depmod/18alternatives-syntax.sh create mode 100755 tests/test-modprobe/29moduledir.sh create mode 100755 tests/test-modprobe/30brokenlink.sh -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html