Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dkms: update to 3.0.6 and update other related packages #37139

Closed
wants to merge 4 commits into from

Commits on Jul 31, 2022

  1. dkms: update to 3.0.6

    files/kernel.d/dkms.prerm has been updated to match the
    kernel_prerm.d_dkms file distributed with dkms 3.0.6
    
    Also, note that these dkms.conf directives have been deprecated since
    dkms 2.8.8
    - MODULES_CONF
    - MODULES_CONF_ALIAS_TYPE
    - MODULES_CONF_OBSOLETES
    - MODULES_CONF_OBSOLETE_ONLY
    - REMAKE_INITRD
    
    Also, note that the output of `dkms status` was changed in version 2.8.6
    old -	zfs, 2.1.4, 5.15.39_1, x86_64: installed
    new -	zfs/2.1.4, 5.15.39_1, x86_64: installed
    subnut committed Jul 31, 2022
    Configuration menu
    Copy the full SHA
    90ec669 View commit details
    Browse the repository at this point in the history
  2. xbps-triggers: dkms trigger updated and bugfixed

    The output format of `dkms status` has changed in v2.8.6
    old -   zfs, 2.1.4, 5.15.39_1, x86_64: installed
    new -   zfs/2.1.4, 5.15.39_1, x86_64: installed
    So, I've re-worked the _modver and _kver detection logic.
    
    NOTE: The detection logic should ideally be identical to the detection
    logic in srcpkgs/dkms/files/kernel.d/dkms.prerm
    
    Also, there was a bug. If a package tried to install a dkms module that
    failed to build for *all* of the installed kernels, then the output of
    dkms status for that module would be -
    
    old -   module-name, x.y.z: added
    new -   module-name/x.y.z: added
    
    Which would cause the dkms trigger to set _kver to "added", and then the
    following call to `dkms remove` would set the flag `-k $_kver`, and dkms
    would get confused trying to find a kernel of version "added".
    
    This commit fixes that bug.
    subnut committed Jul 31, 2022
    Configuration menu
    Copy the full SHA
    56d0168 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86a3c6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7bd4bb View commit details
    Browse the repository at this point in the history