Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,16 @@ details.

Use the following environment variables:

* WM2_VERBOSE: value from 0 (default, no logging) - 3 (tracing).
* `WM2_VERBOSE:` value from 0 (default, no logging) - 3 (tracing).
the -v/--verbose option increases log level by one.
* WM2_DEBUG: 0 (default) or 1. Enables verbose output of certain
* `WM2_DEBUG`: 0 (default) or 1. Enables verbose output of certain
commands called by weak-modules2. Equivalent to --debug.
* WM2_LOGFILE: redirect the output to the given file.
* `WM2_LOGFILE`: redirect the output to the given file.

### Other environment variables

* `WM2_DEPMOD_INC`: set this to a non-empty string to enable the experimental
"incremental depmod" feature. This will speed up KMP installations.

## Kernel scriptlet files

Expand Down
3 changes: 3 additions & 0 deletions kernel-scriptlets/rpm-script
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ EOF
[ -z "$certs" ] || /usr/lib/module-init-tools/kernel-scriptlets/cert-$op --ca-check 1 --certs "$certs" "$@"
;;
posttrans)
if test -x /usr/lib/module-init-tools/regenerate-initrd-posttrans; then
/bin/bash -c 'set +e; /usr/lib/module-init-tools/regenerate-initrd-posttrans' || script_rc=$?
fi
;;
*)
echo Unknown scriptlet "$op" >&2
Expand Down
Loading