[PATCH 0/6] pre-run hooks for depmod alternatives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This patch series adds a "pre-run hook" feature for depmod alternatives.  An
alternative's pre-run hook is a shell command which depmod will run just before
processing the alternative.

This will be used by Ksplice Uptrack in order to synchronize its module
directory with the directories in /lib/modules.  A hook gives us the
flexibility we need, without pushing the synchronization logic into

The patches also fix some minor bugs in my previous code.

As before, please feel free to contact me with any questions.

Keegan McAllister (6):
  depmod: isolate out-of-date check between alts
  tests: more tests for malformed alternatives
  depmod: catch trailing spaces on malformed alts
  depmod: add pre-run hooks for alternatives
  tests: test alternatives pre-run hooks
  doc: document alternatives pre-run hooks

 depmod.c                                   |   38 ++++++++--
 doc/depmod.alternatives.sgml               |   15 ++++
 tests/test-depmod/18alternatives-syntax.sh |   40 ++++++++++
 tests/test-depmod/19alternatives-hooks.sh  |  112 ++++++++++++++++++++++++++++
 4 files changed, 198 insertions(+), 7 deletions(-)
 create mode 100755 tests/test-depmod/19alternatives-hooks.sh


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

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Add to Google Powered by Linux