HomeFreeBSD

Fix kmodtool for packaging mainline Linux

Description

Fix kmodtool for packaging mainline Linux

kmodtool currently incorrectly identifies official
RHEL kernels, as opposed to custom kernels. This
can cause the openZFS kmod RPM build to break.

The issue can be reproduced by building a set of
mainline Linux RPMs, installing them, and then
attempting to build the openZFS kmod package
against them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Timothy Day <timday@amazon.com>
Closes #14617

Details

Provenance
Timothy Day <tday141@gmail.com>Authored on Mar 22 2023, 4:22 PM
GitHub <noreply@github.com>Committed on Mar 22 2023, 4:22 PM
Parents
rG0f9e7354145c: Remove unused constant EdonR256_BLOCK_BITSIZE
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG1eca40f3ade7: Fix kmodtool for packaging mainline Linux (authored by Timothy Day <tday141@gmail.com>).Mar 22 2023, 4:22 PM