Skip to content

fix: dkms.conf WOLFSSL_ROOT passthrough and docs#17

Open
MarkAtwood wants to merge 2 commits into
wolfSSL:masterfrom
MarkAtwood:fix/dkms-wolfssl-root-kernel8
Open

fix: dkms.conf WOLFSSL_ROOT passthrough and docs#17
MarkAtwood wants to merge 2 commits into
wolfSSL:masterfrom
MarkAtwood:fix/dkms-wolfssl-root-kernel8

Conversation

@MarkAtwood

Copy link
Copy Markdown
Contributor

Summary

  • dkms.conf MAKE command never passed WOLFSSL_ROOT, so DKMS builds always failed at link time. Now defaults to /usr/src/wolfssl; overridable via environment variable.
  • BUILD_EXCLUSIVE_KERNEL regex only matched kernels 3–7; extended to include 8.x.
  • Added a DKMS usage section to README.md documenting the /usr/src/wolfssl convention and the WOLFSSL_ROOT override.

Test plan

  • dkms add kernel-src/ with wolfssl at /usr/src/wolfssl — verify build succeeds
  • WOLFSSL_ROOT=/custom/path dkms install wolfguard/<version> — verify override is respected
  • Confirm dkms status reports module installed on a kernel 8.x system

Copilot AI review requested due to automatic review settings April 17, 2026 20:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Fixes DKMS build configuration to correctly pass WOLFSSL_ROOT (with a sensible default) and updates supported kernel version matching to include 8.x; also adds documentation for DKMS usage. Additionally, this PR introduces Beads/Dolt and Claude agent configuration files, which appears unrelated to the DKMS fixes described.

Changes:

  • Update dkms.conf to pass WOLFSSL_ROOT into the DKMS make invocation and extend BUILD_EXCLUSIVE_KERNEL to match 8.x.
  • Document DKMS setup and the /usr/src/wolfssl convention (plus override) in README.md.
  • Add Beads/Dolt repo metadata, hooks, and Claude/agent configuration; update .gitignore accordingly.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
kernel-src/dkms.conf Passes WOLFSSL_ROOT into DKMS builds; expands supported kernel regex to 8.x.
README.md Adds DKMS usage docs and documents WOLFSSL_ROOT override.
CLAUDE.md Adds AI agent workflow/tooling instructions (Beads).
AGENTS.md Adds agent instructions and repeats Beads integration guidance.
.gitignore Ignores Dolt/Beads artifacts (but uses broad *.db).
.claude/settings.json Adds Claude hooks to run bd prime automatically.
.beads/** Adds Beads configuration, metadata, docs, hooks, and ignore patterns.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread kernel-src/dkms.conf Outdated
Comment thread kernel-src/dkms.conf Outdated
Comment thread .beads/metadata.json Outdated
@MarkAtwood MarkAtwood requested a review from douzzer April 17, 2026 21:10
Pass WOLFSSL_ROOT to make so DKMS builds can find the wolfssl
tree. Defaults to /usr/src/wolfssl; overridable via environment.

Extend BUILD_EXCLUSIVE_KERNEL regex to cover kernel 8.x.

Add DKMS usage section to README.md.

@douzzer douzzer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What is this kernel 8.x Claude speaks of? lol

@MarkAtwood MarkAtwood changed the title fix: dkms.conf WOLFSSL_ROOT and kernel 8.x support fix: dkms.conf WOLFSSL_ROOT passthrough and docs Jun 4, 2026
@MarkAtwood

Copy link
Copy Markdown
Contributor Author

Addressed douzzer's feedback — dropped the premature kernel 8.x support. Also fixed WOLFSSL_ROOT quoting for paths with spaces and the trailing \. regex inconsistency from Copilot review. PR now only touches dkms.conf and README.md.

@MarkAtwood MarkAtwood requested a review from douzzer June 4, 2026 22:13
- Remove kernel 8.x from BUILD_EXCLUSIVE_KERNEL (doesn't exist yet)
- Quote WOLFSSL_ROOT expansion for paths with spaces
- Add trailing \. to 3.1x regex branch for consistency
@MarkAtwood MarkAtwood force-pushed the fix/dkms-wolfssl-root-kernel8 branch from 26c68ba to 791efe3 Compare June 9, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants