-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If either a dkms module source, or the symbolic link pointing to it is missing, the output of `dkms status` will be messed up. Add a new status called 'broken', which will inform the user about it in a nicely formatted way. is_module_added() was modified to not report a module as added, if not both the source directory and the 'source' symlink exist. do_autoinstall() and run_match() were modified to handle a broken status. They skip that particular module/version combo and continue iterating. The new function module_is_broken_and_die() was introduced to die early on a broken module. Because if in a broken state everything has to be considered volatile, we always die. User intvervention is required to restore a healthy environment. The man page was updated with the new 'broken' status. Signed-off-by: Mart Frauenlob <[email protected]>
- Loading branch information
Showing
3 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters