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

Support variable expansion in framework files #265

Merged
merged 6 commits into from
Oct 26, 2022
Merged

Conversation

xuzhen
Copy link
Collaborator

@xuzhen xuzhen commented Oct 25, 2022

  1. Use safe_source to avoid abuse of the framework files
  2. Defer loading of signature related variables. ArchLinux module signing failed #256
  3. Add tests.

@evelikov
Copy link
Collaborator

Do you mind splitting this in 3 patches as per the 1 - 2 - 3 points above. Thanks o/

@xuzhen
Copy link
Collaborator Author

xuzhen commented Oct 26, 2022

Do you mind splitting this in 3 patches as per the 1 - 2 - 3 points above. Thanks o/

OK. The commit has been split into smaller ones. New test cases are also split into individual commits

esac
if [[ ! -f "${sign_file}" ]]; then
sign_file="/lib/modules/$kernelver/build/scripts/sign-file"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a general note: my gut feeling is that we should remove all distribution logic out of dkms, in the long run.

@evelikov
Copy link
Collaborator

@scaronni we might want to have a special note about Fix framework file hijacking in the release notes.

it might break some people's workflow, but my gut feeling is that we should not revert it but gauge what they hacks use-case is.

@scaronni
Copy link
Collaborator

@evelikov, sure no problem. Feel also free to make new releases when you see fit.

I'm in favor of many small releases without waiting for fixes for too long.

bodgerer added a commit to bodgerer/dkms that referenced this pull request Jul 19, 2024
The resolution to issue dell#265 limited the number of variables that dkms
would accept from framework.conf. It is useful to be able to configure
a system wide limit of the number of parallel tasks by dkms, and so this
commit adds parallel_jobs to the permitted list.
scaronni pushed a commit that referenced this pull request Sep 3, 2024
The resolution to issue #265 limited the number of variables that dkms
would accept from framework.conf. It is useful to be able to configure
a system wide limit of the number of parallel tasks by dkms, and so this
commit adds parallel_jobs to the permitted list.
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