| From: |
| Keegan McAllister <keegan-SEpxePOmGhdBDgjK7y7TUQ@public.gmane.org> |
| To: |
| linux-modules-u79uwXL29TY76Z2rM5mHXA@public.gmane.org |
| Subject: |
| [PATCH 00/14] new modprobe, depmod features for alternative module dirs |
| Date: |
| Sun, 19 Dec 2010 03:51:11 -0500 |
| Message-ID: |
| <1292748685-10852-1-git-send-email-keegan@ksplice.com> |
| Cc: |
| Tim Abbott <tabbott-SEpxePOmGhdBDgjK7y7TUQ@public.gmane.org>,
Nelson Elhage <nelhage-SEpxePOmGhdBDgjK7y7TUQ@public.gmane.org>,
Reid Barton <rwbarton-SEpxePOmGhdBDgjK7y7TUQ@public.gmane.org>,
Keegan McAllister <keegan-SEpxePOmGhdBDgjK7y7TUQ@public.gmane.org> |
| Archive-link: |
| Article, Thread
|
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