]> git.ipfire.org Git - thirdparty/kmod.git/blobdiff - NEWS
kmod 7
[thirdparty/kmod.git] / NEWS
diff --git a/NEWS b/NEWS
index b5422dd9d43759e79e5d570d7c2a72464c900c3a..d7e7cb57fe907b3187dbc353f84814fbbe10ef82 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,132 @@
+kmod 7
+======
+
+- Re-order dirs for configuration files to match the change in systemd and
+  udev: now the priority is:
+       1. /etc/modprobe.d
+       2. /run/modprobe.d
+       3. /lib/modprobe.d
+
+- Fix setting CFLAGS/LDFLAGS in build system. This prevents us from not
+  allowing user to set his preference
+
+- Bug fixes:
+       - Return same error codes of module-init-tools when removing modules
+         with modprobe
+       - Fix builtin output in "--show-depends" when target kernel is not the
+         same of the running kernel
+       - 'modprobe -r' always look at all command line arguments
+       - Fix '-q' usage in modprobe
+       -
+
+kmod 6
+======
+
+- New API in libkmod:
+       - kmod_module_apply_filter(): a generic function to apply filters in a
+         list of modules. This deprecates the use of
+         kmod_module_get_filtered_blacklist()
+
+- More tests in testsuite
+
+- Add compatibility with uClibc again
+
+- Lookup modules.builtin.bin to decide if a module is built in kernel
+
+- Downgrade some log messages so we don't annoy people with useless messages
+
+- Bug fixes:
+       - Flag --ignore-loaded was not being properly handled
+       - Infinite loop with softdeps
+       - Infinite loop with dumb user configuration with install commands
+       - Fix leak in index when there's a partial match
+
+- Move repository and tarballs to kernel.org
+
+kmod 5
+======
+
+- Break libkmod's API to insert a module like modprobe does. It now accepts
+  extra an extra argument to print its action and acceptable flags were
+  sanitized.
+
+- Share more code between modprobe and libkmod: using the new version of
+  kmod_module_probe_insert_module() it's possible to share a great amount of
+  code between modprobe and libkmod
+
+- modprobe no longer works with paths: it only accepts module names and/or
+  aliases now.
+
+- testsuite was added to repository, allowing automated tests to be run and
+  easing the way bugs are reproduced.
+
+- modprobe: when dumping configuration ('-c' option) separate config
+  and indexes by adding a commented line between them.
+
+- Fix bugs wrt normalizing aliases and module names
+
+- Fix bug wrt inserting an alias that resolves to multiple modules: we should
+  not stop on the first error, but rather continue to try loading other
+  modules.
+
+- Fix unaligned memory access in hash function, causing depmod to output wrong
+  information in ARMv5
+
+- Fix man page build and install: now they are only installed if tools are
+  enabled
+
+kmod 4
+======
+
+- New APIs in libkmod to:
+       - Get configuration lists: blacklists, install commands, remove
+         commands, aliases, options and softdeps
+       - Dump indexes
+
+- Several bugs fixed in libkmod, modprobe, depmod and modinfo
+
+- API documentation: if configure with run with --enable-gtk-doc, the API doc
+  will be generated by make. Gtk-doc is required for that.
+
+- Man pages are built, which replace man pages from module-init-tools
+
+- 'include' and 'config' options in *.conf files were deprecated
+
+- configure is not run by autogen.sh. Instead, a common set of options is
+  printed. If you are hacking on kmod, consider using bootstrap-configure
+  script.
+
+- 'modprobe -c' works as expected now. As opposed to module-init-tools, it
+  dumps the parsed configuration, not only the file contents.
+
+kmod 3
+======
+
+- New APIs in libkmod to:
+       - Get symbols from module, parsing the ELF section
+       - Get dependency symbols
+       - Check if resources are still valid or if libkmod must be reloaded
+       - Insert module like modprobe, checking (soft-)dependencies, commands,
+         blacklist. It can run commands by itself and to call a callback
+         function.
+
+- Support to load modules compressed with xz
+
+- Tools are now bundled together in a single tool called kmod. It can be
+  called using symlinks with the same names as tools from module-init-tools.
+  E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a
+  1:1 replacement of module-init-tools.
+
+- The only missing tool, depmod, was added to kmod together with the necessary
+  APIs in libkmod.
+
+- If a program using libkmod runs for a long time, as for example udev, it must
+  check if it doesn't have to re-load libkmod. A new helper function was added
+  in libkmod to check if context is still valid and udev is already using it.
+
+- An 'unaligned access' bug was fixed. So those architecture that does not
+  handle unaligned access can use kmod, too.
+
 kmod 2
 ======