fix(module): handle Debian usbip kernel modules#2544
Merged
Conversation
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
danilrwx
approved these changes
Jun 26, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update the USB/IP kernel module installation NodeGroupConfiguration:
*.ko.xz) in addition to plain*.koand zstd-compressed*.ko.zstmodules;linux-image-${kernel_release}package for Debian hosts instead of Ubuntu-specificlinux-modules-extra-${kernel_release};linux-modules-extra-${kernel_release}for other Debian-like distributions such as Ubuntu.Why do we need it, and what problem does it solve?
On Debian 13, USB/IP kernel modules are already provided by the kernel image package and are stored as
*.ko.xzfiles. The previous check did not recognize this extension, so Bashible treated the modules as missing and tried to installlinux-modules-extra-${kernel_release}.Debian does not provide
linux-modules-extra-*packages, so this resulted inUnable to locate packageerrors and repeated Bashible failures.What is the expected result?
On Debian 13 nodes with USB/IP modules present as
*.ko.xz, Bashible detects the modules and skips package installation.If the modules are missing on Debian, Bashible tries the Debian kernel image package instead of the Ubuntu-specific
linux-modules-extra-*package.Checklist
Changelog entries