Releases: dkms-project/dkms
v3.3.0 - New functionality
Add per-module BUILD_EXCLUSIVE_* directives in DKMS.
- Global
BUILD_EXCLUSIVE_*directives still work as before for backwards compatibility. - New array-based directives to add per-module support:
BUILD_EXCLUSIVE_KERNEL[#]BUILD_EXCLUSIVE_KERNEL_MIN[#]BUILD_EXCLUSIVE_KERNEL_MAX[#]BUILD_EXCLUSIVE_ARCH[#]BUILD_EXCLUSIVE_CONFIG[#]
- Both global and per-module directives are checked, and if any module fails either set of constraints, the build is excluded.
New build_environment directive to specify custom compilers
Add a new global build_environment directive, that can contain a path to a file that is sourced in the DKMS shell when building modules. Allows using a custom GCC that is being used only for building the kernel and its modules, so it should be set only for DKMS.
An example: Oracle's UEK kernel for el9 compiled with a gcc-toolset-11 package, with the toolset not set system wide but only being used for building DKMS modules.
What's Changed
- warn if no headers were found by @anbe42 in #547
- Update tests by @scaronni in #549
- Makefile: add uninstall target by @scaronni in #550
- Add BUILD_EXCLUSIVE directives support to single kernel modules (2nd take) by @scaronni in #551
- Add build_environment directive to framework by @scaronni in #556
- Update test platforms by @scaronni in #558
Full Changelog: v3.2.2...v3.3.0
v3.2.2
What's Changed
- Fix spelling mistake in framework.conf by @vinc17fr in #528
- Ignore double quotes if present when checking for compiler version by @scaronni in #532
- fix: return success when do redhat_kernel_install.d.in by @Futureland in #535
- Various fixes by @scaronni in #536
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #539
- dkms: Source copy changes #538 by @ian-abbott in #540
- Update tests by @scaronni in #541
- sparse arrays and a few more fixes by @anbe42 in #543
- Update tests by @scaronni in #546
New Contributors
- @Futureland made their first contribution in #535
Full Changelog: v3.2.1...v3.2.2
v3.2.1
v3.2.0 - New functionality
Force rebuild of dependent modules
Force the rebuild of modules when BUILD_DEPENDS_REBUILD is set and modules declared in BUILD_DEPENDS change.
When a module is updated, all modules that depend on it need to be automatically rebuilt in the correct order. This is all gated throughBUILD_DEPENDS_REBUILD, which should be set on a per installation basis, for example:
$ cat /etc/dkms/<module1>.conf
BUILD_DEPENDS=<module2>
BUILD_DEPENDS_REBUILD=yes
Whenever <module1> is built and BUILD_DEPENDS is set, the version of the dependent module is saved in:
/var/lib/dkms/<module1>/<kernel_version>-<arch>/.dep_<module2>
Add post transaction command that can be specified per site / installation
Add a generic command that gets executed at the end of "install/uninstall" phases for modules. The post_transaction is configured in /etc/dkms/framework.conf and if set to any non-null value the command in there is executed with the kernel version that is the target of the command as the first parameter.
This can be set on a per-site or by distribution packagers of DKMS.
It's executed only at the end of commands that change the content of the kernel modules folder; so an install, autoinstall and remove|unbuild|uninstall command. When the directive is not set (the default) there is no behavior change for DKMS.
The action generates a log in the DKMS working directory using the facilities already provided by DKMS.
What's Changed
- Update man pages by @scaronni in #517
- Add logic for rebuilding modules when dependencies change by @scaronni in #515
- Add helper function for boolean variables syntax checking by @scaronni in #520
- Update tests by @scaronni in #523
- Do not use $ for describing framework.conf directives in the man page by @scaronni in #524
- Add post_transaction command by @scaronni in #522
Full Changelog: v3.1.8...v3.2.0
v3.1.8
v3.1.7
What's Changed
- Update tests.yml for Red Hat based distributions by @scaronni in #504
- Add codeSigning EKU to generated MOK by @GabeNI in #506
- Update COPYING by @scaronni in #509
- Update README.md by @scaronni in #508
- various fixes by @anbe42 in #507
- record location of archived original modules and restore them there (#480)
- support AUTOINSTALL="no" (#491)
- do not clean the clean build tree before building the module (#495)
- error out on dkms.conf containing duplicate module definitions
- common.postinst: run with the same verbosity as autoinstall
- internal code refactoring and cleanup
- simplify development of new tests
- add more tests
- add more sanity checks
- make some error messages more informative
- coding style consistency
New Contributors
Full Changelog: v3.1.6...v3.1.7
v3.1.6
What's Changed
- Misc changes by @anbe42 in #487
- fix a spelling mistake by @vinc17fr in #489
- Fixes by @scaronni in #490
- Attempts for fixing #488 by @scaronni in #493
- Misc changes by @anbe42 in #494
- shellcheck.yml: add new tests using shellcheck by @Nowa-Ammerlaan in #492
- dkms.in: try to find Gentoo's module signing key and certificate by @Nowa-Ammerlaan in #498
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #497
- Report kernel module signing errors to prevent silent failures by @KernelGhost in #496
New Contributors
- @vinc17fr made their first contribution in #489
- @KernelGhost made their first contribution in #496
Full Changelog: v3.1.5...v3.1.6
v3.1.5
What's Changed
- Fix #472, capture error output by @scaronni in #473
- Ensure autoinstall reads /etc/dkms/$module.conf by @bodgerer in #474
- Improve output formatting by @anbe42 in #477
- Drop OpenSUSE Leap 15.5 from tests by @scaronni in #475
- log more in make.log by @anbe42 in #478
- Set compression levels to upstream defaults by @C0rn3j in #476
- Install specific targets during tests by @scaronni in #482
- more autoinstall etc. tests by @anbe42 in #479
- Various fixes for weak modules and SUSE by @scaronni in #486
New Contributors
Full Changelog: v3.1.4...v3.1.5
v3.1.4
What's Changed
- Update test images by @scaronni in #462
- More
autoinstalltests by @anbe42 in #466 - Install again
common.postinstforinstall-redhatby @SergeiShtepa in #467 - Check for
include/config/auto.confby default in place of.configby @scaronni in #468 - Move
kernel_prerm.dlogic intodkmsby @anbe42 in #469
New Contributors
- @SergeiShtepa made their first contribution in #467
Full Changelog: v3.1.3...v3.1.4
v3.1.3
What's Changed
- Print messages for user feedback only once by @scaronni in #460
- Adjust installation for Red Hat based distributions by @scaronni in #461
- Keep the Module.symvers file along with the module files if it exists. by @DidierTrosset-Acqiris in #459
New Contributors
- @DidierTrosset-Acqiris made their first contribution in #459
Full Changelog: v3.1.2...v3.1.3