Skip to content
Merged
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
12 changes: 12 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@ Example output:

Found matching kmod-idpf-irdma-0.0.129.20_0.0.647-3.el9.x86_64 for kernel-core-5.14.0-427.35.1.el9_4.cloud.1.0.x86_64

Building the plain-text documentation

1. Install pandoc

2. Run the following command in the root directory of the repository:

pandoc README.md -t plain -o README

Contributing

See CONTRIBUTING.md

History

Forked from https://github.com/NVIDIA/yum-packaging-nvidia-plugin
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@ Excluded kernel packages during update (5.14.0-503.14.1.el9_5):
Found matching kmod-idpf-irdma-0.0.129.20_0.0.647-3.el9.x86_64 for kernel-core-5.14.0-427.35.1.el9_4.cloud.1.0.x86_64
```

## Building the plain-text documentation

1. Install `pandoc`
2. Run the following command in the root directory of the repository:
```bash
pandoc README.md -t plain -o README
```

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md)

## History

Forked from https://github.com/NVIDIA/yum-packaging-nvidia-plugin
4 changes: 2 additions & 2 deletions dnf-plugin-protected-kmods.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: dnf-plugin-protected-kmods
Version: 0.9.4
Version: 0.9.5
Release: 1%{?dist}
Summary: DNF plugin needed to protect kmods
License: Apache-2.0
Expand Down Expand Up @@ -45,5 +45,5 @@ install -D -m 644 src/protected_kmods.py %{buildroot}%{python3_sitelib}/dnf-plug


%changelog
* Mon Jun 16 2025 Jonathan Dieter <jdieter@ciq.com> - 0.9.4-1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silly question. Is this clobbering an old changelog?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is because the request is that the changelog starts from when the package enters the EPEL repository.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool this way was deliberate. Thank you for helping me understand.

* Mon Jul 08 2025 Jonathan Dieter <jdieter@ciq.com> - 0.9.5-1
- Initial release for EPEL
7 changes: 7 additions & 0 deletions src/protected_kmods.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# dnf-plugin-protected-kmods
#
# DNF plugin to ensure that kernel updates do not occur if the update doesn't have
# a matching kmod available in the repositories.
#
# Forked from https://github.com/NVIDIA/yum-packaging-nvidia-plugin

Comment thread
jdieter marked this conversation as resolved.
import os
from functools import cmp_to_key
from configparser import ConfigParser, NoOptionError, NoSectionError
Expand Down